Closed (duplicate)
Project:
Mailhandler
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 10:01 UTC
Updated:
2 Aug 2010 at 04:57 UTC
More a confusion than really a bug:
// Pass in the $nid (which could be a $cid, depending on $node->type)
$function($nid, $type);
When it is a comment, the comment ID is passed. But when it is a node, the node object is passed. Some better clarification might be needed ($nid is not normally used for node object).
Comments
Comment #1
Ian Ward commentedThis is related to http://drupal.org/node/855312 ... I'll mark this as a dupe (this is an older issue but it will go along for the ride on #855312: Pass full node to implementations of hook_mailhandler_post_save. Thanks for the report.