diff --git a/web/zm_actions.php b/web/zm_actions.php index 645548b4a..49509b7e1 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -1053,7 +1053,10 @@ if ( isset($action) ) $result = mysql_query( "select * from TriggersX10 where MonitorId = '$mid'" ); if ( !$result ) die( mysql_error() ); - $x10_monitor = mysql_fetch_assoc( $result ); + if ( !($x10_monitor = mysql_fetch_assoc( $result )) ) + { + $x10_monitor = array(); + } } } else