http://drupaldocs.org/api/head/function/hook_comment

the param order should be $comment, $op.

CommentFileSizeAuthor
#1 core.php.patch971 bytesdrewish

Comments

drewish’s picture

Status: Active » Needs review
StatusFileSize
new971 bytes

A quick look at comment.module shows that comment_invoke_comment() is, in fact, called with the $comment, $op parameter ordering.

I've attached a patch to fix it.

dries’s picture

Status: Needs review » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)