we also need folder here
This commit is contained in:
parent
1b30e43c45
commit
74da8f2e87
@ -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 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)
|
dbesc($folder_hash)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user