From 17fd1c5588b3188495442533c752b3d1f991dc3f Mon Sep 17 00:00:00 2001 From: Lionel Laffineur Date: Mon, 10 Jul 2023 22:08:15 +0200 Subject: [PATCH] Fixed 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 f5461bc2..4eaad40f 100644 --- a/adminer/script.inc.php +++ b/adminer/script.inc.php @@ -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 ));