Details
Description
Related to MDL-15452.
I think the problem is that the wrong id is used in the target anchor. There was a similar problem with the manual grading link, so this should be easy to fix.
Related to MDL-15452.
I think the problem is that the wrong id is used in the target anchor. There was a similar problem with the manual grading link, so this should be easy to fix.
$question_to_comment = isset($question->randomquestionid) ? $question->randomquestionid : $question->id;
is the relevant bit.