diff --git a/app/controllers/course/timesrooms.php b/app/controllers/course/timesrooms.php index 6b483854f647d81caff41f6e07a6eb3ca79d1262..887ab112a7ce90a901e28cec69a24ee3a1d673ab 100644 --- a/app/controllers/course/timesrooms.php +++ b/app/controllers/course/timesrooms.php @@ -1117,7 +1117,7 @@ class Course_TimesroomsController extends AuthenticatedController 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);