Make Source filter apply to Path as well
This commit is contained in:
parent
4ca77fdd69
commit
f16e1953d9
|
@ -218,9 +218,11 @@ $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()) ) {
|
||||||
|
if ( !preg_match($regexp, $Monitor->Path()) ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$monitors_dropdown[$monitors[$i]['Id']] = $monitors[$i]['Name'];
|
$monitors_dropdown[$monitors[$i]['Id']] = $monitors[$i]['Name'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue