diff --git a/ChangeLog b/ChangeLog index 302aed93d..06e1550eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $HeadURL$ +2007-02-25 Marc Delisle + * libraries/common.lib.php: bug #1667466, undefined variable when + export + save on server + 2007-02-24 Marc Delisle * libraries/config.default.php: RFE #1621437, HEX and UNHEX were not available for a BINARY field diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 65e7a05ec..10273dfac 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1348,8 +1348,10 @@ if (typeof(window.parent) != 'undefined' $sql_query = $GLOBALS['display_query']; } elseif ($cfg['SQP']['fmtType'] == 'none' && ! empty($GLOBALS['unparsed_sql'])) { $sql_query = $GLOBALS['unparsed_sql']; - } else { + } elseif (! empty($GLOBALS['sql_query'])) { $sql_query = $GLOBALS['sql_query']; + } else { + $sql_query = ''; } }