aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-02-02 15:31:51 +0100
committermarijus <mario@mariovavti.com>2015-02-02 15:31:51 +0100
commit74da8f2e87e863d6cde2598d6929fa035499fddd (patch)
tree126faaed64fad0fbcb52e6537413131033b8e4d8
parent1b30e43c45100fc8f1a9f558237068ce24130264 (diff)
downloadvolse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.tar.gz
volse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.tar.bz2
volse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.zip
we also need folder here
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index 12144d380..23cfca0d0 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -1162,7 +1162,7 @@ function check_recursive_perms($allow_cid, $allow_gid, $deny_cid, $deny_gid, $fo
$arr_deny_gid = expand_acl($deny_gid);
while($folder_hash) {
- $x = q("SELECT allow_cid, allow_gid, deny_cid, deny_gid FROM attach WHERE hash = '%s'",
+ $x = q("SELECT allow_cid, allow_gid, deny_cid, deny_gid, folder FROM attach WHERE hash = '%s'",
dbesc($folder_hash)
);