bug 830437

This commit is contained in:
Marc Delisle
2003-10-26 13:09:19 +00:00
parent f76766995a
commit 8ecd52efff
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,8 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-10-26 Marc Delisle <lem9@users.sourceforge.net>
* libraries/display_tbl.lib.php3: bug 830437, undefined $sql_order
2003-10-24 Michal Cihar <nijel@users.sourceforge.net> 2003-10-24 Michal Cihar <nijel@users.sourceforge.net>
* lang/lithuanian: Updated, thanks to Vilius Zigmantas (viliusz). * lang/lithuanian: Updated, thanks to Vilius Zigmantas (viliusz).

View File

@@ -544,7 +544,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
echo '<input type="hidden" name="dontlimitchars" value="' . $dontlimitchars . '" />' . "\n"; echo '<input type="hidden" name="dontlimitchars" value="' . $dontlimitchars . '" />' . "\n";
echo $GLOBALS['strSortByKey'] . ': <select name="sql_query">&nbsp;'; echo $GLOBALS['strSortByKey'] . ': <select name="sql_query">&nbsp;';
$used_index = false; $used_index = false;
$local_order = str_replace(' ', ' ', $sql_order); $local_order = (isset($sql_order) ? str_replace(' ', ' ', $sql_order) : '');
while (list($key, $val) = each($indexes_data)) { while (list($key, $val) = each($indexes_data)) {
$asc_sort = 'ORDER BY '; $asc_sort = 'ORDER BY ';
$desc_sort = 'ORDER BY '; $desc_sort = 'ORDER BY ';