diff --git a/ChangeLog b/ChangeLog index 2b36537ae..93fb4f20b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-02-09 Robin Johnson + * sql.php3: Fix simple little bug #685082 + 2003-02-12 Alexander M. Turek * server_privileges.php3: Fixed bug #684947 ('uncheck all' of 'privileges' is broken), thanks to Alexander Schuch (ci-dev). diff --git a/sql.php3 b/sql.php3 index d5eae68b7..2867fbeb9 100755 --- a/sql.php3 +++ b/sql.php3 @@ -502,7 +502,7 @@ else { // Display previous update query (from tbl_replace) if (isset($disp_query) && $cfg['ShowSQL'] == TRUE) { $tmp_sql_query = $GLOBALS['sql_query']; - $tmp_sql_limit_to_append = $GLOBALS['sql_limit_to_append']; + $tmp_sql_limit_to_append = (isset($GLOBALS['sql_limit_to_append'])?$GLOBALS['sql_limit_to_append']:''); $GLOBALS['sql_query'] = stripslashes($disp_query); $GLOBALS['sql_limit_to_append'] = ''; PMA_showMessage($disp_message);