diff options
-rw-r--r-- | include/attach.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index 95ce09e3a..b5c334d3e 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1246,7 +1246,7 @@ function attach_change_permissions($channel_id, $resource, $allow_cid, $allow_gi } if($sync) { - $data = attach_export_data($channel,$resource_id); + $data = attach_export_data($channel,$resource); if($data) build_sync_packet($channel['channel_id'],array('file' => array($data))); |