In abuse_comment (hook_comment() ) $a1 ($comment) isnt received as a reference and we return the $comment.

Thats not how hook_comment() should be used.

And why dont we always return the $comment->abuse_status?
This would be perfect if you want to include some icon or style into the comments with that have been flaged.

CommentFileSizeAuthor
abuse.module.patch676 bytesanon

Comments

anon’s picture

Status: Active » Needs review