From: Michael Date: Tue, 23 Oct 2018 02:24:24 +0000 (+0000) Subject: Fix a notice when sending relocation messages X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dc0bb5c4b16296cce7759b6d4a9c47c8ac5c055;p=friendica.git Fix a notice when sending relocation messages --- diff --git a/src/Worker/Delivery.php b/src/Worker/Delivery.php index 1c353fb632..4feb341b37 100644 --- a/src/Worker/Delivery.php +++ b/src/Worker/Delivery.php @@ -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'])) {