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.
| Comment | File | Size | Author |
|---|---|---|---|
| abuse.module.patch | 676 bytes | anon |
Comments
Comment #1
anon