From 3fd8b60463a9d145802655bbfc5ee3b4478e36c4 Mon Sep 17 00:00:00 2001 From: silver_slice Date: Wed, 22 Dec 2021 14:07:10 +1000 Subject: [PATCH] Fix undefined variable --- adminer/script.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/script.inc.php b/adminer/script.inc.php index f5461bc28..4eaad40f3 100644 --- a/adminer/script.inc.php +++ b/adminer/script.inc.php @@ -12,7 +12,7 @@ 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 ));