mirror of
https://github.com/vrana/adminer.git
synced 2025-08-31 18:11:52 +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())) {
|
if (!$failed && ($warnings = $driver->warnings())) {
|
||||||
$id = "warnings";
|
$id = "warnings";
|
||||||
$result = ($supportSql ? "," : "")
|
$result .= ($supportSql ? "," : "")
|
||||||
. " <a href='#$id'>" . lang('Warnings') . "</a>" . script("qsl('a').onclick = partial(toggle, '$id');", "")
|
. " <a href='#$id'>" . lang('Warnings') . "</a>" . script("qsl('a').onclick = partial(toggle, '$id');", "")
|
||||||
. "</p>\n"
|
. "</p>\n"
|
||||||
. "<div id='$id' class='hidden'>\n$warnings</div>\n";
|
. "<div id='$id' class='hidden'>\n$warnings</div>\n";
|
||||||
|
Reference in New Issue
Block a user