AnnouncementIniRepository: Also fetch column `start` in `findActive()`

This commit is contained in:
Johannes Meyer 2019-05-23 10:05:14 +02:00
parent 3b82fffca9
commit dcbb477d3a
1 changed files with 1 additions and 1 deletions

View File

@ -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)