|
@@ -23,9 +23,9 @@ |
|
|
block discarded – undo |
|
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'] = 'user:' . $person->guid; |
|
31
|
31
|
} |
Please login to merge, or discard this patch.