mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
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