Skip to content

Commit

Permalink
bugfix comment list insufficient for tests, explicitly instance conte…
Browse files Browse the repository at this point in the history
…xt then
  • Loading branch information
dionysius committed Apr 1, 2019
1 parent 55870d8 commit d5e221d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,8 @@ function mod_studentquiz_comment_renderer($comments, $userid, $cmid, $anonymize,
. html_writer::tag('p', $date . ' | ' . $username)
. format_text(
$comment->comment,
FORMAT_MOODLE
FORMAT_MOODLE,
array('context' => context_module::instance($cmid))
),
(($num >= $showmoreafter) ? 'hidden' : '')
. (($isfromcreator) ? 'fromcreator' : '')
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_studentquiz';
$plugin->version = 2019032002;
$plugin->release = 'v3.2.3';
$plugin->version = 2019040100;
$plugin->release = 'v3.3.0';
$plugin->requires = 2017111306; // Version MOODLE_31, 3.4.0.
$plugin->maturity = MATURITY_STABLE;
$plugin->cron = 0;

0 comments on commit d5e221d

Please sign in to comment.