From 12b33a23dec6d65b9c73c002ba7221f3306ef598 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 12 Oct 2024 16:31:00 +0200 Subject: containers: port start_delivery_chain() --- include/items.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index ed528f89d..bb14cfb73 100644 --- a/include/items.php +++ b/include/items.php @@ -3313,10 +3313,14 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false $post = item_store($arr); } - $post_id = $post['item_id']; + $post_id = $post['item_id'] ?? 0; + $approval_id = $post['approval_id'] ?? 0; if($post_id) { Master::Summon([ 'Notifier','tgroup',$post_id ]); + if ($approval_id) { + Master::Summon(['Notifier', 'tgroup', $approval_id]); + } } return; } -- cgit v1.2.3