Commit graph

1 commit

Author SHA1 Message Date
Conn Warwicker
d9d2388965
MDL-79122 question: Correct capability check for question comments link.
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.
2024-12-13 15:31:47 +00:00