This commit is contained in:
Marc Delisle
2002-10-09 17:08:43 +00:00
parent 67b06978bf
commit 54f5b6b065
2 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2002-10-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* libraries/display_tbl.lib.php3, bug 619735: display broken (bad HTML)
2002-10-09 Marc Delisle <lem9@users.sourceforge.net>
* libraries/get_foreign.lib.php3, there are no functions
in this file that need to be protected from being defined

View File

@@ -8,7 +8,7 @@
if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
define('PMA_DISPLAY_TBL_LIB_INCLUDED', 1);
/**
@@ -731,10 +731,10 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){
reset ($query_parts);
while (list(, $query_pair) = each($query_parts)) {
list($eachvar, $eachval) = explode('=', $query_pair);
$link_or_button .= ' <input type="hidden" name="' . str_replace('amp;', '', $eachvar) . '" value="' . urldecode($eachval) . '" />' . "\n";
$link_or_button .= ' <input type="hidden" name="' . str_replace('amp;', '', $eachvar) . '" value="' . htmlspecialchars(urldecode($eachval)) . '" />' . "\n";
} // end while
$link_or_button .= ' <input type="submit" value="'
. $message . '" />' . "\n" . '</form>' . "\n";
. htmlspecialchars($message) . '" />' . "\n" . '</form>' . "\n";
} // end if... else...
return $link_or_button;