aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-03 17:23:43 -0700
committerredmatrix <mike@macgirvin.com>2016-10-03 17:24:21 -0700
commit4b91d4b5c3036f01a14049cfb04423aef7da611d (patch)
tree8dec7f4cec0edde8da3f8aa296848b61537536fe
parent2aa89795223961cccd43e1c300423920c55d8578 (diff)
downloadvolse-hubzilla-4b91d4b5c3036f01a14049cfb04423aef7da611d.tar.gz
volse-hubzilla-4b91d4b5c3036f01a14049cfb04423aef7da611d.tar.bz2
volse-hubzilla-4b91d4b5c3036f01a14049cfb04423aef7da611d.zip
wrong resource (attach_change_permissions())
-rw-r--r--include/attach.php2
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)));