diff --git a/server_status.php b/server_status.php index eaf390125d..e832a31f84 100644 --- a/server_status.php +++ b/server_status.php @@ -82,10 +82,11 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) { WHERE variable_value > 0"; $queries = PMA_DBI_fetch_result($sql, 0, 1); } else { - $queries = PMA_DBI_fetch_result( - "SHOW GLOBAL STATUS - WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions') - AND Value > 0'", 0, 1); + $queries = PMA_DBI_fetch_result( + "SHOW GLOBAL STATUS + WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions') + AND Value > 0'", 0, 1); + } cleanDeprecated($queries); // admin commands are not queries unset($queries['Com_admin_commands']);