Merge pull request #3624 from Icinga/fix/show-contact-with-restriction
Fix contact details if restriction is active
This commit is contained in:
commit
4a0c1ccb03
|
@ -43,8 +43,8 @@ class ShowController extends Controller
|
|||
'contact_notify_host_flapping',
|
||||
'contact_notify_host_downtime',
|
||||
));
|
||||
$query->where('contact_name', $contactName);
|
||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||
$query->where('contact_name', $contactName);
|
||||
$contact = $query->getQuery()->fetchRow();
|
||||
|
||||
if ($contact) {
|
||||
|
|
Loading…
Reference in New Issue