aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-12-30 13:56:27 +0100
committermarijus <mario@mariovavti.com>2014-12-30 13:56:27 +0100
commit8e034a3b6b67a9aaa20fe9db671350e198fe7c42 (patch)
tree81cff6cedc958e98685a1214829173eeb037ea76 /include/attach.php
parent6cbbe854d5fd10d0d072dd19a9d3bc82df427d98 (diff)
downloadvolse-hubzilla-8e034a3b6b67a9aaa20fe9db671350e198fe7c42.tar.gz
volse-hubzilla-8e034a3b6b67a9aaa20fe9db671350e198fe7c42.tar.bz2
volse-hubzilla-8e034a3b6b67a9aaa20fe9db671350e198fe7c42.zip
fix recursive file permissions
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index ad6ca1b21..a76dd4b28 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -717,7 +717,7 @@ function attach_change_permissions($channel_id, $resource, $allow_cid, $allow_gi
);
if($r) {
foreach($r as $rr) {
- attach_change_permissions($channel_id, $resource, $allow_cid, $allow_gid, $deny_cid, $deny_gid, $recurse);
+ attach_change_permissions($channel_id, $rr['hash'], $allow_cid, $allow_gid, $deny_cid, $deny_gid, $recurse);
}
}
}