always check for read access too

This commit is contained in:
Ralf Becker 2013-11-11 08:23:14 +00:00
parent e4ee379138
commit aeced1ddae

View File

@ -1440,7 +1440,7 @@ class egw_link extends solink
{ {
if(($method = self::get_registry($app,'file_access'))) 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 else
{ {