From d938e377670dc674b2edd3831d23dece80a06552 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 13 Dec 2020 17:22:50 +0000 Subject: [PATCH] Set the return value --- src/Model/Post/Delayed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Post/Delayed.php b/src/Model/Post/Delayed.php index 3d41371f9..913bcedae 100644 --- a/src/Model/Post/Delayed.php +++ b/src/Model/Post/Delayed.php @@ -127,7 +127,7 @@ class Delayed $id = item_post(DI::app()); Logger::notice('Unprepared post stored', ['id' => $id, 'uid' => $item['uid'], 'extid' => $item['extid']]); - return; + return $id; } $id = Item::insert($item, $notify);