diff options
Diffstat (limited to 'frontends/php/tr_status.php')
| -rw-r--r-- | frontends/php/tr_status.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/frontends/php/tr_status.php b/frontends/php/tr_status.php index dbc26b65..ad0badf4 100644 --- a/frontends/php/tr_status.php +++ b/frontends/php/tr_status.php @@ -400,12 +400,7 @@ echo '<script type="text/javascript" src="js/blink.js"></script>'; while($row=DBfetch($result)){ // Check for dependencies - $deps = DBfetch(DBselect("select count(*) as cnt from trigger_depends d, triggers t ". - " where d.triggerid_down=".$row["triggerid"]." and d.triggerid_up=t.triggerid and t.value=1")); - - if($deps["cnt"]>0){ - continue; - } + if(trigger_dependent($row["triggerid"])) continue; $cond = ''; $ack_expire = ($config['ack_expire']*86400); |
