P.S. In 2.0 version, unknown status will be slightly different for triggers, and I think it will not be an issue anymore.

P.S.S. Those patches are unofficial. I write them in my free time.


$info['triggers'] = array();
foreach($info['triggers'] as $tnum => $trigger){
if($trigger['status'] == TRIGGER_STATUS_DISABLED) continue;
if($trigger['value'] == TRIGGER_VALUE_UNKNOWN) continue;
if(!isset($info['type'])){
$info['type'] = $trigger['value'];
Leave a comment: