diff --git a/ChangeLog b/ChangeLog index 6680d94e99..6e47b2f55f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -54,6 +54,7 @@ phpMyAdmin - ChangeLog - issue #14611 Fix fatal JS error on index creation after using Enter key to submit the form - issue #16012 Set "axis-order" to swap lon and lat on MySQL >= 8.1 - issue #16104 Fixed overwriting a bookmarked query causes a PHP fatal error +- issue Fix typo in a condition in the Sql class 5.0.2 (2020-03-20) - issue Fixed deprecation warning "implode(): Passing glue string after array is deprecated." function on export page diff --git a/libraries/classes/Sql.php b/libraries/classes/Sql.php index 81ec7e031d..4710a1a271 100644 --- a/libraries/classes/Sql.php +++ b/libraries/classes/Sql.php @@ -1825,7 +1825,7 @@ class Sql $result, $analyzed_sql_results ); - if (empty($sql_data) || ($sql_data['valid_queries'] = 1)) { + if (empty($sql_data) || ($sql_data['valid_queries'] <= 1)) { $response->addHTML($tableMaintenanceHtml); exit; }