1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-30 01:30:12 +02:00

Fix missing SQL statement if warnings are printed

Regression from 4.9.
This commit is contained in:
Peter Knut
2024-10-18 09:31:15 +02:00
parent 441e7f050c
commit 3bb75dc036

View File

@@ -249,7 +249,7 @@ class Adminer {
if (!$failed && ($warnings = $driver->warnings())) {
$id = "warnings";
$result = ($supportSql ? "," : "")
$result .= ($supportSql ? "," : "")
. " <a href='#$id'>" . lang('Warnings') . "</a>" . script("qsl('a').onclick = partial(toggle, '$id');", "")
. "</p>\n"
. "<div id='$id' class='hidden'>\n$warnings</div>\n";