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())
continue;
Checkable::Ptr checkable = notification->GetCheckable();
if (checkable->IsPaused() && GetEnableHA())
if (notification->IsPaused() && GetEnableHA())
continue;
Checkable::Ptr checkable = notification->GetCheckable();
if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications())
continue;