This commit is contained in:
marijus 2015-02-02 15:26:35 +01:00
parent e0bc01a7f6
commit 1b30e43c45

View File

@ -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 FROM attach WHERE hash = '%s'",
dbesc($folder_hash)
);