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:46:54 +00:00
parent d3165294c6
commit f53a1cf01d

View File

@ -724,7 +724,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';
} }