diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleUtils.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleUtils.java index 8a813131..a8d32da3 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleUtils.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/MoodleUtils.java @@ -194,7 +194,7 @@ public abstract class MoodleUtils { additionalAttrs.put(QuizData.ATTR_ADDITIONAL_TIME_LIMIT, String.valueOf(courseQuizData.time_limit)); return new QuizData( MoodleUtils.getInternalQuizId( - courseQuizData.course_module, + courseQuizData.id, courseData.id, courseData.short_name, courseData.idnumber), @@ -227,7 +227,7 @@ public abstract class MoodleUtils { final CourseData course = finalCourseDataRef.get(quiz.course); if (course != null) { final String internalQuizId = MoodleUtils.getInternalQuizId( - quiz.course_module, + quiz.id, course.id, course.short_name, course.idnumber);