mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
* All apps: current user was not taken into account for private custom-fields
This commit is contained in:
parent
f574e6577a
commit
a577ff0180
@ -127,7 +127,7 @@ class egw_customfields implements IteratorAggregate
|
|||||||
*/
|
*/
|
||||||
public static function get($app, $all_private_too=false, $only_type2=null)
|
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);
|
$cfs = egw_cache::getInstance(__CLASS__, $cache_key);
|
||||||
|
|
||||||
if (!isset($cfs))
|
if (!isset($cfs))
|
||||||
|
Loading…
Reference in New Issue
Block a user