forked from extern/egroupware
Fix fatal error caused by moved Categories
This commit is contained in:
parent
797ff38fa3
commit
9859cfa679
@ -1721,8 +1721,7 @@ class calendar_boupdate extends calendar_bo
|
||||
|
||||
foreach(explode(',',$event['category']) as $cat_id)
|
||||
{
|
||||
list($cat) = $GLOBALS['egw']->categories->return_single($cat_id);
|
||||
$cat_string[] = stripslashes($cat['name']);
|
||||
$cat_string[] = stripslashes(Api\Categories::id2name($cat_id));
|
||||
}
|
||||
$var['category'] = Array(
|
||||
'field' => lang('Category'),
|
||||
|
Loading…
Reference in New Issue
Block a user