mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 00:52:33 +01:00
Merge branch 'MDL-32430' of git://github.com/timhunt/moodle
This commit is contained in:
commit
efff2ab77f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user