From: Jakub Vrana Date: Fri, 22 Oct 2010 22:02:46 +0000 (+0200) Subject: Don't highlight empty queries X-Git-Tag: v3.1.0~43 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=677687fc1a818056ecf3bd3befe5bcf1e031b8b2;p=adminer.git Don't highlight empty queries --- 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"; }