@@ -23,9 +23,9 @@ |
||
23 | 23 | $schemadb = schemadb::from_path($this->_config->get('schemadb_acl')); |
24 | 24 | |
25 | 25 | // Get the calendar root event |
26 | - if ( class_exists('org_openpsa_calendar_interface') |
|
26 | + if (class_exists('org_openpsa_calendar_interface') |
|
27 | 27 | && $root_event = org_openpsa_calendar_interface::find_root_event()) { |
28 | - $field =& $schemadb->get('default')->get_field('calendar'); |
|
28 | + $field = & $schemadb->get('default')->get_field('calendar'); |
|
29 | 29 | $field['type_config']['privilege_object'] = $root_event; |
30 | 30 | $field['type_config']['assignee'] = 'group:' . $group->guid; |
31 | 31 | } |