diff --git a/lib.php b/lib.php index 12c94a9..5389b85 100644 --- a/lib.php +++ b/lib.php @@ -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