From aeced1ddaec4e9978e1ae9a46d805f79e36625e1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 11 Nov 2013 08:23:14 +0000 Subject: [PATCH] always check for read access too --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 2ac1869a6d..8216cb74cb 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -1440,7 +1440,7 @@ class egw_link extends solink { if(($method = self::get_registry($app,'file_access'))) { - $cache |= ExecMethod2($method,$id,$required,$rel_path) ? $required : 0; + $cache |= ExecMethod2($method,$id,$required,$rel_path) ? $required|EGW_ACL_READ : 0; } else {