Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
493 views
in Q2A Core by

In Nov 2013 I reported about the bug: Wrong anchor on "edit" button? (q_doedit) (not implemented in core yet)

Now I have realized that after editing a comment and hitting the Save button the anchor is set wrong as well, instead "#c"+$commentid we have "#q"+$commentid.

To solve this:

In qa-page-question-post.php find line:

qa_page_q_refresh($pagestart, null, $commentparenttype, $comment['parentid']);

change to:

qa_page_q_refresh($pagestart, null, 'c', $comment['postid']);

Q2A version: 1.6.3

1 Answer

0 votes
by
good finding! thank you
...