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

fix relocate after storing of cycle, fixes #1941

Closes #1941

Merge request studip/studip!1269
parent 2743c115
No related branches found
No related tags found
No related merge requests found
...@@ -1117,7 +1117,7 @@ class Course_TimesroomsController extends AuthenticatedController ...@@ -1117,7 +1117,7 @@ class Course_TimesroomsController extends AuthenticatedController
words('day start_time end_time description cycle startWeek teacher_sws fromDialog course_type') words('day start_time end_time description cycle startWeek teacher_sws fromDialog course_type')
); );
$this->linkAttributes = ['fromDialog' => Request::isXhr() ? 1 : 0]; $this->linkAttributes = ['fromDialog' => Request::bool('fromDialog')];
$this->cycle = new SeminarCycleDate($cycle_id); $this->cycle = new SeminarCycleDate($cycle_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment