mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
fix Error: Call to undefined method calendar_bo::find_or_add_categories() when specifying categories
This commit is contained in:
parent
d071757bb9
commit
d3b644ebec
@ -380,7 +380,7 @@ class JsCalendar
|
||||
$cat_ids = [];
|
||||
if ($categories)
|
||||
{
|
||||
if (!isset($bo)) $bo = new \calendar_bo();
|
||||
if (!isset($bo)) $bo = new \calendar_boupdate();
|
||||
$cat_ids = $bo->find_or_add_categories(array_keys($categories));
|
||||
}
|
||||
return $cat_ids ? implode(',', $cat_ids) : null;
|
||||
|
Loading…
Reference in New Issue
Block a user