From afe23fbbc7efefa122bc72618adb64a575a633c8 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 21 Aug 2024 06:35:24 +1000 Subject: [PATCH] missing channel in clone sync --- include/items.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/items.php b/include/items.php index a87ca747a..d33d8b1bb 100644 --- a/include/items.php +++ b/include/items.php @@ -4789,6 +4789,8 @@ function list_attached_local_files($body) { function fix_attached_permissions($uid,$body,$str_contact_allow,$str_group_allow,$str_contact_deny,$str_group_deny,$token = EMPTY_STR) { + $channel = Channel::from_id($uid); + $files = list_attached_local_files($body); if (! $files) { return;