harmonizes arrays initializations

pull/2600/head
Cédric Bonhomme 2017-10-27 11:04:57 +02:00
parent 9e93b61838
commit 5ac042da67
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 3 additions and 3 deletions

View File

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