Merge branch 'MDL-32430' of git://github.com/timhunt/moodle
This commit is contained in:
+1
-1
@@ -1157,7 +1157,7 @@ function quiz_update_events($quiz, $override = null) {
|
||||
$addclose = empty($current->id) || !empty($current->timeclose);
|
||||
|
||||
$event = new stdClass();
|
||||
$event->description = $quiz->intro;
|
||||
$event->description = format_module_intro('quiz', $quiz, $quiz->coursemodule);
|
||||
// Events module won't show user events when the courseid is nonzero.
|
||||
$event->courseid = ($userid) ? 0 : $quiz->course;
|
||||
$event->groupid = $groupid;
|
||||
|
||||
Reference in New Issue
Block a user