[drupal-devel] [bug] nodeapi 'settings' call sends string instead of object for $node value

crunchywelch drupal-devel at drupal.org
Sat Jan 29 07:50:07 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    node system
 Category:     bug reports
 Priority:     normal
 Assigned to:  crunchywelch
 Reported by:  crunchywelch
 Updated by:   crunchywelch
 Status:       patch
 Attachment:   http://drupal.org/files/issues/node_24.patch (1.42 KB)

when the 'settings' nodeapi operation is invoked, a string containing
the type of node is sent for the $node argument, instead of an object
like the rest of the operations. This breaks comment.module, and is
inconsistent with the rest of the operations and documentation. 

This small patch fixes the problem.


View: http://drupal.org/node/16384
Edit: http://drupal.org/project/comments/add/16384

More information about the drupal-devel mailing list