]> git.mxchange.org Git - friendica.git/commitdiff
Initialize $event in Event::store
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 17 Mar 2018 04:32:46 +0000 (00:32 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 23 Mar 2018 10:34:21 +0000 (06:34 -0400)
src/Model/Event.php

index 9387a25d6812686826204304f6b48621dea1b096..df6a1fa0ef4e3147dd78adb71fc6576e8ec900a7 100644 (file)
@@ -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));