Closed leonstr closed 2 years ago
See https://github.com/rigao-alexandre/moodle-quizaccess_failgrade/issues/7 $lastattempt is false if $numprevattempts is 0 so $lastattempt->userid results in an error.
See https://github.com/rigao-alexandre/moodle-quizaccess_failgrade/issues/7 $lastattempt is false if $numprevattempts is 0 so $lastattempt->userid results in an error.