mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
fixed bug introduce in fix: no more serialized cat data (like calendar colors) were returned
This commit is contained in:
parent
d00b710a7a
commit
c8da8e39ef
@ -394,9 +394,9 @@ class categories
|
||||
if (!isset(self::$cache[$id])) return false;
|
||||
|
||||
$cat = self::$cache[$id];
|
||||
$cat['data'] = $cat['data'] ? (($arr=unserialize($cat['data']) !== false && $cat['data'] !== 'b:0;') ?
|
||||
$cat['data'] = $cat['data'] ? ((($arr=unserialize($cat['data'])) !== false || $cat['data'] === 'b:0;') ?
|
||||
$arr : $cat['data']) : array();
|
||||
|
||||
|
||||
return $cat;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user