aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorMoritz Strohm <strohm@data-quest.de>2026-03-17 11:35:58 +0000
committerMoritz Strohm <strohm@data-quest.de>2026-03-17 11:35:58 +0000
commitee78e07f006b7f80d80745f5fb0c6ce3eb73962e (patch)
treea762da2bed575bb1b9e713b882901603bc0eea05 /app/controllers/admin
parent57b2a13fe03a88fb807bfe7eee74ae38475b739e (diff)
admin/courses/export_csv: use the same room format as the view, really fixes #6365
Closes #6365 Merge request studip/studip!4832
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/courses.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin/courses.php b/app/controllers/admin/courses.php
index bdadc3e..4c75d02 100644
--- a/app/controllers/admin/courses.php
+++ b/app/controllers/admin/courses.php
@@ -1004,7 +1004,8 @@ class Admin_CoursesController extends AuthenticatedController
}
if (in_array('room_time', $filter_config)) {
- $row['room_time'] = (string) $course->getAllDatesInSemester($this->semester);
+ $course_date_list = $course->getAllDatesInSemester($this->semester);
+ $row['room_time'] = implode("\n", $course_date_list->toStringArray(false, true));
}
if (in_array('requests', $filter_config)) {