forked from extern/egroupware
* Calendar/Resources: fix SQL error with no category responsible for Slovenian (and maybe other) translations
This commit is contained in:
parent
6c9cf51a00
commit
60d5712a36
@ -121,7 +121,7 @@ class resources_acl_bo
|
|||||||
*
|
*
|
||||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* @param int $cat_id
|
* @param int $cat_id
|
||||||
* @return int userid of cat admin
|
* @return int|null userid of cat admin or null for none set
|
||||||
*/
|
*/
|
||||||
static public function get_cat_admin($cat_id)
|
static public function get_cat_admin($cat_id)
|
||||||
{
|
{
|
||||||
@ -138,7 +138,7 @@ class resources_acl_bo
|
|||||||
{
|
{
|
||||||
return self::get_cat_admin($parent);
|
return self::get_cat_admin($parent);
|
||||||
}
|
}
|
||||||
return lang('none');
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user