From fe7b7773ba9630a72d01c68dcdbc23eeced70b1b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 3 Oct 2016 17:23:43 -0700 Subject: wrong resource (attach_change_permissions()) --- include/attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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))); -- cgit v1.2.3