mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +01:00
fix Error: Call to undefined method calendar_bo::find_or_add_categories() when specifying categories
This commit is contained in:
parent
44359621a3
commit
7735c57031
@ -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