Fix FSuggestselect
This commit is contained in:
parent
8c9eb9a58d
commit
01659d731f
|
@ -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 New Issue
Block a user