From 089f556327688ef7001c0d27a410eb649624e9c8 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 17 Mar 2018 00:32:46 -0400 Subject: [PATCH] Initialize $event in Event::store --- src/Model/Event.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Model/Event.php b/src/Model/Event.php index 9387a25d68..df6a1fa0ef 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -230,6 +230,7 @@ class Event extends BaseObject { $a = self::getApp(); + $event = []; $event['id'] = intval(defaults($arr, 'id' , 0)); $event['uid'] = intval(defaults($arr, 'uid' , 0)); $event['cid'] = intval(defaults($arr, 'cid' , 0)); -- 2.39.5