Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-58030 gradingform_guide: Init $commentchooser before use
The initialisation of $commentschooser was moved into an IF condition, whilst still using it outside of that IF conditions scope. As such, if there are no comments to choose from, the variable is never init'd but it still goes to use it, emitting a PHP notice.
- Loading branch information