From: rabuzarus Date: Mon, 12 Feb 2018 15:56:52 +0000 (+0100) Subject: fix undeclared $uid variables in Item::insert() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=58b41690976e1c46f19a84d599d4b19af1a906da;p=friendica.git fix undeclared $uid variables in Item::insert() --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 400bc549b1..40c8980243 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -263,8 +263,7 @@ class Item extends BaseObject } $arr['guid'] = notags(trim(defaults($arr, 'guid', get_guid(32, $guid_prefix)))); - /// @todo Declare $uid variable - Rabuzarus - 2018-02-12. - $arr['uri'] = notags(trim(defaults($arr, 'uri', item_new_uri($a->get_hostname(), $uid, $arr['guid'])))); + $arr['uri'] = notags(trim(defaults($arr, 'uri', item_new_uri($a->get_hostname(), $arr['uid'], $arr['guid'])))); // Store conversation data $arr = Conversation::insert($arr);