just select perms
This commit is contained in:
parent
c29483b88c
commit
e0bc01a7f6
@ -1162,7 +1162,7 @@ function check_recursive_perms($allow_cid, $allow_gid, $deny_cid, $deny_gid, $fo
|
|||||||
$arr_deny_gid = expand_acl($deny_gid);
|
$arr_deny_gid = expand_acl($deny_gid);
|
||||||
|
|
||||||
while($folder_hash) {
|
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)
|
dbesc($folder_hash)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user