aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2015-02-02 15:25:30 +0100
committermarijus <mario@mariovavti.com>2015-02-02 15:25:30 +0100
commite0bc01a7f60668c35f677fbc52ba2e8aec70683a (patch)
tree39c16446f9ecc02f510b3c095e1d714a3c4a1026 /include
parentc29483b88cda69beb51f00ee8f2d262bc6784a24 (diff)
downloadvolse-hubzilla-e0bc01a7f60668c35f677fbc52ba2e8aec70683a.tar.gz
volse-hubzilla-e0bc01a7f60668c35f677fbc52ba2e8aec70683a.tar.bz2
volse-hubzilla-e0bc01a7f60668c35f677fbc52ba2e8aec70683a.zip
just select perms
Diffstat (limited to 'include')
-rw-r--r--include/attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php
index c38301e01..07f31761d 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 * FROM attach WHERE hash = '%s'",
+ $x = q("SELECT allow_cid, allow_gid, deny_cid, deny_gid, FROM attach WHERE hash = '%s'",
dbesc($folder_hash)
);