Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-66409 mod_lesson: Fix editing of numerical pages
This avoids using the "magic" `isset` function implemented within the lesson_base class (which returns the `empty` function). In the case of the answer beeing `0`, the test fails and the answer is considered to be deleted.
- Loading branch information