diff options
author | marijus <mario@mariovavti.com> | 2015-02-02 15:31:51 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2015-02-02 15:31:51 +0100 |
commit | 74da8f2e87e863d6cde2598d6929fa035499fddd (patch) | |
tree | 126faaed64fad0fbcb52e6537413131033b8e4d8 | |
parent | 1b30e43c45100fc8f1a9f558237068ce24130264 (diff) | |
download | volse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.tar.gz volse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.tar.bz2 volse-hubzilla-74da8f2e87e863d6cde2598d6929fa035499fddd.zip |
we also need folder here
-rw-r--r-- | include/attach.php | 2 |
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) ); |