mirror of
https://github.com/friendica/friendica
synced 2024-11-18 09:03:42 +00:00
Fix FSuggestselect
This commit is contained in:
parent
8c9eb9a58d
commit
01659d731f
1 changed files with 2 additions and 2 deletions
|
@ -67,12 +67,12 @@ class Delivery
|
|||
$uid = $target_item['uid'];
|
||||
} elseif ($cmd == self::SUGGESTION) {
|
||||
try {
|
||||
$target_item = DI::fsuggest()->selectOneById($post_uriid);
|
||||
$target_item = DI::fsuggest()->selectOneById($post_uriid)->toArray();
|
||||
} catch (FriendSuggestNotFoundException $e) {
|
||||
DI::logger()->info('Cannot find FriendSuggestion', ['id' => $post_uriid]);
|
||||
return;
|
||||
}
|
||||
$uid = $target_item->uid;
|
||||
$uid = $target_item['uid'];
|
||||
} elseif ($cmd == self::RELOCATION) {
|
||||
$uid = $post_uriid;
|
||||
$target_item = [];
|
||||
|
|
Loading…
Reference in a new issue