mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +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
|
* We use a shared cache together with id2name
|
||||||
*
|
*
|
||||||
* @param int $id id of category
|
* @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 = '')
|
function return_single($id = '')
|
||||||
{
|
{
|
||||||
@ -331,7 +331,7 @@
|
|||||||
}
|
}
|
||||||
$this->cache_id2cat_data[$id] = $cat;
|
$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