fixed a problem in the old vfs_sql class in acl_check, a var group_ok is checked to verify permissions but never set. this did lead to empty

downloads in some cases. This was sponsored by PX2@Medien GmbH & Co. KG
This commit is contained in:
Klaus Leithoff 2008-03-13 12:48:43 +00:00
parent 237c28506d
commit 259f6d5cab

View File

@ -725,7 +725,7 @@
{ {
return True; return True;
} }
elseif (!$rights && $group_ok) elseif (!$rights)
{ {
return $GLOBALS['egw_info']['server']['acl_default'] == 'grant'; return $GLOBALS['egw_info']['server']['acl_default'] == 'grant';
} }