mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
AnnouncementIniRepository: Also fetch column start
in findActive()
This commit is contained in:
parent
3b82fffca9
commit
dcbb477d3a
@ -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…
x
Reference in New Issue
Block a user