Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 6881ed5d824c15d192365e0753582ce6acfc4e0b 1 parent 6791b08
@timhunt timhunt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/lib.php
View
4 mod/quiz/lib.php
@@ -1090,8 +1090,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;
Please sign in to comment.
Something went wrong with that request. Please try again.