diff --git a/adminer/processlist.inc.php b/adminer/processlist.inc.php
index 7753b36b..b751ea37 100644
--- a/adminer/processlist.inc.php
+++ b/adminer/processlist.inc.php
@@ -24,7 +24,7 @@ foreach (process_list() as $i => $row) {
echo "
" . (support("kill") ? "" . checkbox("kill[]", $row["Id"], 0) : "");
foreach ($row as $key => $val) {
echo " | " . (
- ($jush == "sql" && $key == "Info" && $val != "") ||
+ ($jush == "sql" && $key == "Info" && $row["Command"] == "Query" && $val != "") ||
($jush == "pgsql" && $key == "current_query" && $val != "") ||
($jush == "oracle" && $key == "sql_text" && $val != "")
? "" . shorten_utf8($val, 100, " ") . ' ' . lang('Edit') . ''
|