Skip to content

Commit

Permalink
mod_quizgame: fix debugging notice when using course reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourget committed Jun 20, 2018
1 parent 9307db8 commit 007d0b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ function quizgame_reset_course_form_defaults($course) {
function quizgame_reset_userdata($data) {
global $DB;
$componentstr = get_string('modulenameplural', 'quizgame');
$status = array();

if (!empty($data->reset_quizgame_scores)) {
$scoresql = "SELECT qg.id
Expand Down

0 comments on commit 007d0b7

Please sign in to comment.