bug 1667466, undefined variable when export + save on server

This commit is contained in:
Marc Delisle
2007-02-25 12:45:29 +00:00
parent 5c6bf4908d
commit 9867ac0fc9
2 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
$Id$ $Id$
$HeadURL$ $HeadURL$
2007-02-25 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: bug #1667466, undefined variable when
export + save on server
2007-02-24 Marc Delisle <lem9@users.sourceforge.net> 2007-02-24 Marc Delisle <lem9@users.sourceforge.net>
* libraries/config.default.php: RFE #1621437, HEX and UNHEX were not * libraries/config.default.php: RFE #1621437, HEX and UNHEX were not
available for a BINARY field available for a BINARY field

View File

@@ -1348,8 +1348,10 @@ if (typeof(window.parent) != 'undefined'
$sql_query = $GLOBALS['display_query']; $sql_query = $GLOBALS['display_query'];
} elseif ($cfg['SQP']['fmtType'] == 'none' && ! empty($GLOBALS['unparsed_sql'])) { } elseif ($cfg['SQP']['fmtType'] == 'none' && ! empty($GLOBALS['unparsed_sql'])) {
$sql_query = $GLOBALS['unparsed_sql']; $sql_query = $GLOBALS['unparsed_sql'];
} else { } elseif (! empty($GLOBALS['sql_query'])) {
$sql_query = $GLOBALS['sql_query']; $sql_query = $GLOBALS['sql_query'];
} else {
$sql_query = '';
} }
} }