http://drupaldocs.org/api/head/function/hook_comment
the param order should be $comment, $op.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | core.php.patch | 971 bytes | drewish |
http://drupaldocs.org/api/head/function/hook_comment
the param order should be $comment, $op.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | core.php.patch | 971 bytes | drewish |
Comments
Comment #1
drewish commentedA 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.
Comment #2
dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) commented