1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-28 16:49:57 +02:00

Fix undefined $sql variable

This commit is contained in:
Peter Knut
2023-05-03 16:02:42 +02:00
committed by Jakub Vrana
parent 197ab976b8
commit 501234c2d1

View File

@@ -12,7 +12,7 @@ if ($_GET["script"] == "db") {
foreach ($sums + array("Auto_increment" => 0, "Rows" => 0) as $key => $val) {
if ($table_status[$key] != "") {
$val = format_number($table_status[$key]);
json_row("$key-$name", ($key == "Rows" && $val && $table_status["Engine"] == ($sql == "pgsql" ? "table" : "InnoDB")
json_row("$key-$name", ($key == "Rows" && $val && $table_status["Engine"] == ($jush == "pgsql" ? "table" : "InnoDB")
? "~ $val"
: $val
));