Bug 424771

This commit is contained in:
Marc Delisle
2001-05-31 19:10:22 +00:00
parent 14df959256
commit 6f471a60b8
3 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2001-05-31 Marc Delisle <lem9@users.sourceforge.net>
* tbl_replace.php3, tbl_change.php3: bug 424771
2001-05-30 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* left.js, left.php3 : beautify the way database list is displayed with NS4

View File

@@ -28,7 +28,8 @@ else
<input type="hidden" name="db" value="<?php echo $db;?>">
<input type="hidden" name="table" value="<?php echo $table;?>">
<input type="hidden" name="goto" value="<?php echo $goto;?>">
<input type="hidden" name="sql_query" value="<?php echo isset($sql_query) ? $sql_query : "";?>">
<input type="hidden" name="sql_query" value="
<?php echo isset($sql_query) ? urlencode(stripslashes($sql_query)) : "";?>">
<input type="hidden" name="pos" value="<?php echo isset($pos) ? $pos : 0;?>">
<?php

View File

@@ -6,7 +6,7 @@ require("./grab_globals.inc.php3");
require("./lib.inc.php3");
$sql_query=urldecode($sql_query);
if($goto == "sql.php3")
{
$goto = "sql.php3?server=$server&lang=$lang&db=$db&table=$table&pos=$pos&sql_query=".urlencode($sql_query);