mirror of
https://github.com/moodle/moodle.git
synced 2025-04-11 11:23:52 +02:00
This makes the rendering of the question comments count additionally check the core moodle/comment:post capability, since this capability is required to make comments. Previously, this was not being checked so users could open the modal to make a comment, which was causing a javascript error due to expected elements being missing.