Make Source filter apply to Path as well

This commit is contained in:
Isaac Connor 2018-05-15 10:45:10 -07:00
parent 4ca77fdd69
commit f16e1953d9
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ $html .= htmlSelect( 'Status[]', $status_options,
$regexp = '/'.preg_quote($regexp,'/').'/i';
}
if ( !preg_match($regexp, $Monitor->Source()) ) {
continue;
if ( !preg_match($regexp, $Monitor->Path()) ) {
continue;
}
}
}