mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
it was definitly to late last night ;-)
This commit is contained in:
parent
9de4dcd476
commit
c4db9872c2
@ -317,7 +317,7 @@
|
||||
* We use a shared cache together with id2name
|
||||
*
|
||||
* @param int $id id of category
|
||||
* @return array with one array of cat-data
|
||||
* @return array/boolean array with one array of cat-data or false if cat not found
|
||||
*/
|
||||
function return_single($id = '')
|
||||
{
|
||||
@ -331,7 +331,7 @@
|
||||
}
|
||||
$this->cache_id2cat_data[$id] = $cat;
|
||||
}
|
||||
return $this->cache_id2cat_data[$id] ? array($cat) : false;
|
||||
return $this->cache_id2cat_data[$id] ? array($this->cache_id2cat_data[$id]) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user