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

Notices: Use idx()

This commit is contained in:
Jakub Vrana
2025-03-26 07:55:30 +01:00
parent 1a2ae0e29e
commit c5f87110ff
5 changed files with 7 additions and 6 deletions

View File

@@ -230,7 +230,7 @@ if (!isset($_GET["import"])) {
} elseif ($_GET["history"] == "all") {
$q = $history;
} elseif ($_GET["history"] != "") {
$q = $history[$_GET["history"]][0];
$q = idx($history[$_GET["history"]], 0);
}
echo "<p>";
textarea("query", $q, 20);