mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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_flapping',
|
||||||
'contact_notify_host_downtime',
|
'contact_notify_host_downtime',
|
||||||
));
|
));
|
||||||
$query->where('contact_name', $contactName);
|
|
||||||
$this->applyRestriction('monitoring/filter/objects', $query);
|
$this->applyRestriction('monitoring/filter/objects', $query);
|
||||||
|
$query->where('contact_name', $contactName);
|
||||||
$contact = $query->getQuery()->fetchRow();
|
$contact = $query->getQuery()->fetchRow();
|
||||||
|
|
||||||
if ($contact) {
|
if ($contact) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user