Skip to content
Snippets Groups Projects
Commit c6801763 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3983

Closes #3983

Merge request studip/studip!2835
parent 086864d4
No related branches found
No related tags found
No related merge requests found
...@@ -402,8 +402,8 @@ class CalendarDate extends SimpleORMap implements PrivacyObject ...@@ -402,8 +402,8 @@ class CalendarDate extends SimpleORMap implements PrivacyObject
$sorm = self::findThru($storage->user_id, [ $sorm = self::findThru($storage->user_id, [
'thru_table' => 'calendar_date_assignments', 'thru_table' => 'calendar_date_assignments',
'thru_key' => 'range_id', 'thru_key' => 'range_id',
'thru_assoc_key' => 'event_id', 'thru_assoc_key' => 'calendar_date_id',
'assoc_foreign_key' => 'event_id', 'assoc_foreign_key' => 'id',
]); ]);
if ($sorm) { if ($sorm) {
$field_data = []; $field_data = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment