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; diff --git a/version.php b/version.php index 2b9740801..a0a1533db 100644 --- a/version.php +++ b/version.php @@ -1,2 +1,2 @@