From 259f6d5cab9c1e4bed05cbe6bad512f0d279f1ff Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 13 Mar 2008 12:48:43 +0000 Subject: [PATCH] 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 --- phpgwapi/inc/class.vfs_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vfs_sql.inc.php b/phpgwapi/inc/class.vfs_sql.inc.php index 4561093d55..df8b66db38 100644 --- a/phpgwapi/inc/class.vfs_sql.inc.php +++ b/phpgwapi/inc/class.vfs_sql.inc.php @@ -725,7 +725,7 @@ { return True; } - elseif (!$rights && $group_ok) + elseif (!$rights) { return $GLOBALS['egw_info']['server']['acl_default'] == 'grant'; }