diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 700bbb431..2aec3d145 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -768,22 +768,22 @@ switch ( $tab ) "; - ?> - Triggers) && in_array( $optTrigger, $monitor->Triggers ) ) { ?> checked="checked"/>  - '; + echo 'Triggers) && is_array( $monitor->Triggers ) and in_array( $optTrigger, $monitor->Triggers ) ) { + echo ' checked="checked"'; + } + echo '/> '. $optTrigger ; $optCount ++; } - if ( !$optCount ) - { + if ( !$optCount ) { ?>