From 3dc0bb5c4b16296cce7759b6d4a9c47c8ac5c055 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 23 Oct 2018 02:24:24 +0000 Subject: [PATCH] Fix a notice when sending relocation messages --- src/Worker/Delivery.php | 1 + 1 file changed, 1 insertion(+) 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'])) { -- 2.39.5