diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index e2cd16d8..abd720cd 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -75,8 +75,8 @@ if (!$error && $_POST) { select($result, $connection2); if ($connection2 && preg_match("~^$space*SELECT$space+~isU", $q)) { $id = "explain-$explain"; - echo "
" . lang('%d row(s)', $result->num_rows); - echo ", EXPLAIN\n"; + echo "
" . ($result->num_rows ? lang('%d row(s)', $result->num_rows) . ", " : ""); + echo "EXPLAIN\n"; echo "