]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
Funkwhale context file moved
[friendica.git] / src / Model / Event.php
index f63ec3d559882ef75f91e5c65402426f9478029e..74bf3bd9c0cd45b1ac18d3fed1160359a7606f6f 100644 (file)
@@ -248,7 +248,7 @@ class Event
                $event['uid']       = intval($arr['uid']       ?? 0);
                $event['cid']       = intval($arr['cid']       ?? 0);
                $event['guid']      =       ($arr['guid']      ?? '') ?: System::createUUID();
-               $event['uri']       =       ($arr['uri']       ?? '') ?: Item::newURI($event['uid'], $event['guid']);
+               $event['uri']       =       ($arr['uri']       ?? '') ?: Item::newURI($event['guid']);
                $event['uri-id']    = ItemURI::insert(['uri' => $event['uri'], 'guid' => $event['guid']]);
                $event['type']      =       ($arr['type']      ?? '') ?: 'event';
                $event['summary']   =        $arr['summary']   ?? '';