Fix that reminder notifications ignore HA mode

fixes #12249
This commit is contained in:
Michael Friedrich 2016-07-28 17:39:52 +02:00
parent 21cebe97a1
commit 077dbe1db6
1 changed files with 3 additions and 3 deletions

View File

@ -75,11 +75,11 @@ void NotificationComponent::NotificationTimerHandler(void)
if (!notification->IsActive()) if (!notification->IsActive())
continue; continue;
Checkable::Ptr checkable = notification->GetCheckable(); if (notification->IsPaused() && GetEnableHA())
if (checkable->IsPaused() && GetEnableHA())
continue; continue;
Checkable::Ptr checkable = notification->GetCheckable();
if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications()) if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications())
continue; continue;