* All apps: current user was not taken into account for private custom-fields

This commit is contained in:
Ralf Becker 2014-08-26 16:54:23 +00:00
parent ff37c7c3f4
commit a792aaa3c0

View File

@ -127,7 +127,7 @@ class egw_customfields implements IteratorAggregate
*/
public static function get($app, $all_private_too=false, $only_type2=null)
{
$cache_key = $app.':'.(bool)$all_private_too.':'.$only_type2;
$cache_key = $app.':'.($all_private_too?'all':$GLOBALS['egw_info']['user']['account_id']).':'.$only_type2;
$cfs = egw_cache::getInstance(__CLASS__, $cache_key);
if (!isset($cfs))