mirror of
https://github.com/friendica/friendica
synced 2024-11-19 00:23:47 +00:00
Fix a notice when sending relocation messages
This commit is contained in:
parent
65f29800ff
commit
3dc0bb5c4b
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Delivery extends BaseObject
|
|||
$uid = $target_item['uid'];
|
||||
} elseif ($cmd == self::RELOCATION) {
|
||||
$uid = $item_id;
|
||||
$target_item = [];
|
||||
} else {
|
||||
$item = Item::selectFirst(['parent'], ['id' => $item_id]);
|
||||
if (!DBA::isResult($item) || empty($item['parent'])) {
|
||||
|
|
Loading…
Reference in a new issue