From dcbb477d3aff614ce1e25f5fe0530e03b00dfaee Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 23 May 2019 10:05:14 +0200 Subject: [PATCH] AnnouncementIniRepository: Also fetch column `start` in `findActive()` --- library/Icinga/Web/Announcement/AnnouncementIniRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Announcement/AnnouncementIniRepository.php b/library/Icinga/Web/Announcement/AnnouncementIniRepository.php index 12750d11b..d972a1d39 100644 --- a/library/Icinga/Web/Announcement/AnnouncementIniRepository.php +++ b/library/Icinga/Web/Announcement/AnnouncementIniRepository.php @@ -110,7 +110,7 @@ class AnnouncementIniRepository extends IniRepository $now = new DateTime(); $query = $this - ->select(array('hash', 'message')) + ->select(array('hash', 'message', 'start')) ->setFilter(new FilterAnd(array( Filter::expression('start', '<=', $now), Filter::expression('end', '>=', $now)