Permalink
Browse files

MDL-32430 quiz calendar events: fix pluginfile URLs in the description.

  • Loading branch information...
1 parent 8075bd8 commit fca106161273b3a386bf97623041d8a80d7a3298 @timhunt timhunt committed May 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/lib.php
View
@@ -1136,8 +1136,8 @@ function quiz_update_events($quiz, $override = null) {
$addclose = empty($current->id) || !empty($current->timeclose);
$event = new stdClass();
- $event->description = $quiz->intro;
- // Events module won't show user events when the courseid is nonzero
+ $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;
$event->userid = $userid;

0 comments on commit fca1061

Please sign in to comment.