summaryrefslogtreecommitdiffstats
path: root/frontends/php/queue.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/queue.php')
-rw-r--r--frontends/php/queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php
index e2211bde..48e56d45 100644
--- a/frontends/php/queue.php
+++ b/frontends/php/queue.php
@@ -54,7 +54,7 @@ include_once "include/page_header.php";
<?php
$now = time();
- $result = DBselect("select i.itemid, i.nextcheck, i.description, i.key_, h.host,h.hostid ".
+ $result = DBselect("select i.itemid,i.nextcheck,i.description,i.key_,i.type,h.host,h.hostid ".
" from items i,hosts h ".
" where i.status=".ITEM_STATUS_ACTIVE." and i.type not in (".ITEM_TYPE_TRAPPER.") ".
" and ((h.status=".HOST_STATUS_MONITORED." and h.available != ".HOST_AVAILABLE_FALSE.") ".