diff options
Diffstat (limited to 'frontends/php')
-rw-r--r-- | frontends/php/queue.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/queue.php b/frontends/php/queue.php index b2692048..21e6c8c5 100644 --- a/frontends/php/queue.php +++ b/frontends/php/queue.php @@ -23,7 +23,7 @@ ?> <? $now=time(); - $result=DBselect("select i.itemid, i.nextcheck, i.description, h.host,h.hostid from items i,hosts h where i.status=0 and h.status in (0,2) and i.hostid=h.hostid and i.nextcheck<$now order by i.nextcheck"); + $result=DBselect("select i.itemid, i.nextcheck, i.description, h.host,h.hostid from items i,hosts h where i.status=0 and h.status=0 and i.hostid=h.hostid and i.nextcheck<$now order by i.nextcheck"); echo "<table border=0 width=100% bgcolor='#CCCCCC' cellspacing=1 cellpadding=3>"; echo "\n"; echo "<tr><td><b>Next time to check</b></td><td><b>Host</b></td><td><b>Description</b></td></tr>"; |