Reply fails for some content types (i.e. "news") because ltrim function below returns wrong content type name

ltrim($comment->node_type, 'comment_node_')

thanks!

CommentFileSizeAuthor
#1 error_on_reply-1179592.patch800 bytesferdi

Comments

ferdi’s picture

StatusFileSize
new800 bytes

Here is a simple fix

chezwel’s picture

patch worked but the comment reply did not show unless the page was refreshed

dddave’s picture

Status: Active » Needs review

correcting status

acouch’s picture

Status: Needs review » Fixed

this has been committed. thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.