Merge pull request #3792 from Icinga/fix/multiple-announcements-broken-without-js
Multiple announcements broken without javascript
This commit is contained in:
commit
3a1876e018
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue