fixed bug: privat cats were not returned / shown

This commit is contained in:
Ralf Becker 2005-12-02 20:29:49 +00:00
parent c03331ca19
commit 5f625f4289

View File

@ -45,10 +45,10 @@
/** /**
* constructor for categories class * constructor for categories class
* *
* @param int $accountid=0 account id, default to current user * @param int/string $accountid='' account id or lid, default to current user
* @param string $app_name='' app name defaults to current app * @param string $app_name='' app name defaults to current app
*/ */
function categories($accountid=0,$app_name = '') function categories($accountid='',$app_name = '')
{ {
if (!$app_name) $app_name = $GLOBALS['egw_info']['flags']['currentapp']; if (!$app_name) $app_name = $GLOBALS['egw_info']['flags']['currentapp'];