From 3bb75dc036a48b5da4ed8520dc8cc7605e277769 Mon Sep 17 00:00:00 2001 From: Peter Knut Date: Fri, 18 Oct 2024 09:31:15 +0200 Subject: [PATCH] Fix missing SQL statement if warnings are printed Regression from 4.9. --- adminer/include/adminer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 63fa0d45..7dfb5ced 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -249,7 +249,7 @@ class Adminer { if (!$failed && ($warnings = $driver->warnings())) { $id = "warnings"; - $result = ($supportSql ? "," : "") + $result .= ($supportSql ? "," : "") . " " . lang('Warnings') . "" . script("qsl('a').onclick = partial(toggle, '$id');", "") . "

\n" . "\n";