Make Source filter apply to Path as well
This commit is contained in:
parent
4ca77fdd69
commit
f16e1953d9
|
@ -218,7 +218,9 @@ $html .= htmlSelect( 'Status[]', $status_options,
|
||||||
$regexp = '/'.preg_quote($regexp,'/').'/i';
|
$regexp = '/'.preg_quote($regexp,'/').'/i';
|
||||||
}
|
}
|
||||||
if ( !preg_match($regexp, $Monitor->Source()) ) {
|
if ( !preg_match($regexp, $Monitor->Source()) ) {
|
||||||
continue;
|
if ( !preg_match($regexp, $Monitor->Path()) ) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue