Commit 86b00b20 by Amiya

fixed #266

After posting a comment to a question the comment anchor is wrong . This
commit fixes this issue with the correct anchor
parent c6a3629c
......@@ -872,7 +872,7 @@
$commentid=qa_page_q_add_c_submit($question, $parent, $commentsfollows, $usecaptcha, $cnewin[$parentid], $cnewerrors[$parentid]);
if (isset($commentid))
qa_page_q_refresh($pagestart, null, $parent['basetype'], $parentid);
qa_page_q_refresh($pagestart, null, 'C', $commentid);
else {
$formtype='c_add';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment