I find that many, if not most hooks double tap. Hook_nodeapi is very consistent in that. However, one find some slight differences between the calls. Check to see if $node->build_mode is the same in each call. Also check the revision flag and nid. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
________________________________ From: "[email protected]" <[email protected]> To: [email protected] Sent: Mon, May 23, 2011 12:26:29 PM Subject: [development] Nodeapi double tap I'm hooking nodeapi in two companion d6 modules. One is looking for op=presave and modifying some of the cck field values, the other is looking for update/insert and sending the node information outside the site. The problem I'm having is that the information going offsite is arriving twice, though with not all fields having data the first time. I find this with a dsm at the start of hook_nodeapi (after clicking edit on a node and then save). LOAD PREPARE PRE-SAVE PRE-SAVE UPDATE UPDATE
