it was definitly to late last night ;-)

This commit is contained in:
Ralf Becker 2005-11-06 09:09:05 +00:00
parent 9de4dcd476
commit c4db9872c2

View File

@ -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;
}
/**