diff options
author | emkael <emkael@tlen.pl> | 2016-03-16 22:56:13 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-03-16 22:56:13 +0100 |
commit | 75dc7a1df808ab2ca93ca96e299b06d90ebcedf6 (patch) | |
tree | 3c7671d8e47b5b68e534ad13ecb5acb9374d4272 /app/php/facades/EventFacade.php | |
parent | c5058d68713fc710c68488db726b05453e18d85d (diff) |
* refactoring, code formatting
Diffstat (limited to 'app/php/facades/EventFacade.php')
-rw-r--r-- | app/php/facades/EventFacade.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/php/facades/EventFacade.php b/app/php/facades/EventFacade.php index 6ed739f..e7b3abe 100644 --- a/app/php/facades/EventFacade.php +++ b/app/php/facades/EventFacade.php @@ -22,11 +22,11 @@ class EventFacade extends Facade { } return $this->fetchList( 'getEvents', - array( + [ 'date_from' => $dateFrom ?: '0000-00-00 00:00:00', 'date_to' => $dateTo ?: '9999-99-99', 'calendar_clause' => $calendarClause - ) + ] ); } |