wrong resource (attach_change_permissions())

This commit is contained in:
redmatrix 2016-10-03 17:23:43 -07:00
parent 2aa8979522
commit 4b91d4b5c3

View File

@ -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)));