From 677687fc1a818056ecf3bd3befe5bcf1e031b8b2 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 23 Oct 2010 00:02:46 +0200 Subject: [PATCH] Don't highlight empty queries --- adminer/processlist.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/processlist.inc.php b/adminer/processlist.inc.php index c37d105b..1025fccc 100644 --- a/adminer/processlist.inc.php +++ b/adminer/processlist.inc.php @@ -21,7 +21,7 @@ foreach (get_rows("SHOW FULL PROCESSLIST") as $i => $row) { } echo "" . checkbox("kill[]", $row["Id"], 0); foreach ($row as $key => $val) { - echo "" . ($key == "Info" ? "" . nbsp($val) . ' ' . lang('Edit') . '' : nbsp($val)); + echo "" . ($key == "Info" && $val != "" ? "" . nbsp($val) . ' ' . lang('Edit') . '' : nbsp($val)); } echo "\n"; }