mirror of
https://github.com/friendica/friendica
synced 2024-11-10 08:22:57 +00:00
fix undeclared $uid variables in Item::insert()
This commit is contained in:
parent
342b9af734
commit
58b4169097
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue