diff --git a/ChangeLog b/ChangeLog index bd44aa305..587562a7c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ $Id$ $Source$ +2004-11-01 Michal Čihař + * libraries/common.lib.php: Comparsion is == and not = (bug #1054758). + 2004-10-29 Marc Delisle * server_privileges.php (top index): MySQLi compatibility, use PMA_convert_using() in case of non-latin1 user table, diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 30842c0cf..b6f08bff8 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1662,7 +1662,7 @@ if (typeof(document.getElementById) != 'undefined' $query_base = PMA_validateSQL($query_base); } else { // avoid reparsing query: - if (isset($GLOBALS['parsed_sql']) && $query_base = $GLOBALS['parsed_sql']['raw']) { + if (isset($GLOBALS['parsed_sql']) && $query_base == $GLOBALS['parsed_sql']['raw']) { $parsed_sql = $GLOBALS['parsed_sql']; } else { $parsed_sql = PMA_SQP_parse($query_base);