* Calendar/Resources: fix SQL error with no category responsible for Slovenian (and maybe other) translations

This commit is contained in:
Ralf Becker 2018-05-23 10:42:39 +02:00
parent 6c9cf51a00
commit 60d5712a36

View File

@ -121,7 +121,7 @@ class resources_acl_bo
*
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
* @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)
{
@ -138,7 +138,7 @@ class resources_acl_bo
{
return self::get_cat_admin($parent);
}
return lang('none');
return null;
}
/**