Skip to content
Snippets Groups Projects
Commit f37399a9 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

CourseDateAndRoomBookingExporter: fixed error with ex_dates and course_name

parent f1206485
No related branches found
No related tags found
No related merge requests found
...@@ -592,7 +592,7 @@ class CourseDateAndRoomBookingExporter extends Exporter ...@@ -592,7 +592,7 @@ class CourseDateAndRoomBookingExporter extends Exporter
} }
$course_dates_stmt_sql .= implode(', ', $fields_sql) . ' '; $course_dates_stmt_sql .= implode(', ', $fields_sql) . ' ';
$course_dates_stmt_sql .= "FROM ex_termine "; $course_dates_stmt_sql .= "FROM ex_termine ";
if ($institute_ids) { if ($institute_ids || $with_course_name) {
$course_dates_stmt_sql .= "INNER JOIN `seminare` $course_dates_stmt_sql .= "INNER JOIN `seminare`
ON `ex_termine`.`range_id` = `seminare`.`seminar_id` "; ON `ex_termine`.`range_id` = `seminare`.`seminar_id` ";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment