45
45
fatal_error(S_NO_TRIGGER_DEFINED);
48
if(! ($db_data = DBfetch(DBselect('select distinct t.triggerid,t.description,h.host,h.hostid '.
48
if(! ($db_data = DBfetch(DBselect('select distinct t.triggerid,t.description,t.expression,h.host,h.hostid '.
49
49
' from hosts h, items i, functions f, triggers t'.
50
50
' where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and t.triggerid='.$_REQUEST["triggerid"].
51
51
' and i.hostid not in ('.$denyed_hosts.') '