mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
767761b7d8
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.