From 58b41690976e1c46f19a84d599d4b19af1a906da Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Mon, 12 Feb 2018 16:56:52 +0100 Subject: [PATCH] fix undeclared $uid variables in Item::insert() --- src/Model/Item.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5