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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user