missing translation of role

This commit is contained in:
Ralf Becker 2009-10-13 08:58:06 +00:00
parent 9d50eb121d
commit d6cf835680

View File

@ -1560,7 +1560,7 @@ class calendar_bo
{
if (isset($this->roles[$role]))
{
$role = $this->roles[$role];
$role = lang($this->roles[$role]);
}
// allow to use cats as roles (beside regular iCal ones)
elseif (substr($role,0,6) == 'X-CAT-' && ($cat_id = (int)substr($role,6)) > 0)