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:23:43 -0700
commitfe7b7773ba9630a72d01c68dcdbc23eeced70b1b (patch)
tree8bc56225c0412364b4a5dc5c0fb5e6254e628c20
parentcef1aa6d1b21b15458783661ed4c7e6fe8a99011 (diff)
downloadvolse-hubzilla-fe7b7773ba9630a72d01c68dcdbc23eeced70b1b.tar.gz
volse-hubzilla-fe7b7773ba9630a72d01c68dcdbc23eeced70b1b.tar.bz2
volse-hubzilla-fe7b7773ba9630a72d01c68dcdbc23eeced70b1b.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)));