[drupal-docs] [bug] node_comment docs wrong for 4.7

Dries drupal-docs at drupal.org
Sat Nov 5 07:39:35 UTC 2005


Issue status update for 
http://drupal.org/node/35080
Post a follow up: 
http://drupal.org/project/comments/add/35080

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  robertDouglass
 Updated by:   Dries
-Status:       patch (code needs review)
+Status:       fixed

Committed to HEAD.  Thanks.




Dries



Previous comments:
------------------------------------------------------------------------

Mon, 24 Oct 2005 15:12:00 +0000 : robertDouglass

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


the param order should be $comment, $op.




------------------------------------------------------------------------

Wed, 26 Oct 2005 07:40:00 +0000 : drewish

Attachment: http://drupal.org/files/issues/core.php.patch (971 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.







More information about the drupal-docs mailing list