Verified Commit 2ce96284 authored byBrowse files
MDL-54802 mod_quiz: Improve validation when editing a quiz uusing require passing grade
When editing a quiz that is using the require passing grade completion method, the grade to pass cannot be zero. Since the completion method is locked we cannot recommend that the completion method is changed (as we do when the quiz is being created). Instead we have to inform the user that the grade to pass must not be zero.