From 5ac042da67668b6bbb6f37ca6c6820301826104b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Fri, 27 Oct 2017 11:04:57 +0200 Subject: [PATCH] harmonizes arrays initializations --- app/Controller/EventsController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Controller/EventsController.php b/app/Controller/EventsController.php index da6b819db..7001635f4 100644 --- a/app/Controller/EventsController.php +++ b/app/Controller/EventsController.php @@ -2251,9 +2251,9 @@ class EventsController extends AppController { } } } - $requested_attributes = ['uuid', 'event_id', 'category', 'type', - 'value', 'comment', 'to_ids', 'timestamp']; - $requested_obj_attributes = ['uuid', 'name', 'meta-category']; + $requested_attributes = array('uuid', 'event_id', 'category', 'type', + 'value', 'comment', 'to_ids', 'timestamp'); + $requested_obj_attributes = array('uuid', 'name', 'meta-category'); if($this->params['url']['attributes']) { $requested_attributes = explode(',', $this->params['url']['attributes']); $requested_obj_attributes = array();