mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 11:35:15 -04:00
Don't output preg_match errors
This commit is contained in:
@@ -218,7 +218,7 @@ $html .= '</span>
|
||||
$regexp = '/'.preg_quote($regexp,'/').'/i';
|
||||
}
|
||||
|
||||
if ( !preg_match($regexp, $Monitor->Name()) ) {
|
||||
if ( !@preg_match($regexp, $Monitor->Name()) ) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@@ -247,7 +247,6 @@ $html .= '</span>
|
||||
}
|
||||
$displayMonitors[] = $monitors[$i];
|
||||
} # end foreach monitor
|
||||
|
||||
$html .= '<span class="MonitorFilter"><label>'.translate('Monitor').'</label>';
|
||||
$html .= htmlSelect('MonitorId[]', $monitors_dropdown, $selected_monitor_ids,
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user