Initialize $event in Event::store

This commit is contained in:
Hypolite Petovan 2018-03-17 00:32:46 -04:00
parent 89e9cbb0b5
commit 089f556327

View file

@ -230,6 +230,7 @@ class Event extends BaseObject
{ {
$a = self::getApp(); $a = self::getApp();
$event = [];
$event['id'] = intval(defaults($arr, 'id' , 0)); $event['id'] = intval(defaults($arr, 'id' , 0));
$event['uid'] = intval(defaults($arr, 'uid' , 0)); $event['uid'] = intval(defaults($arr, 'uid' , 0));
$event['cid'] = intval(defaults($arr, 'cid' , 0)); $event['cid'] = intval(defaults($arr, 'cid' , 0));