--- node.module 2005-06-03 12:32:02.000000000 +1000 +++ node.revision_delete_fix.module 2005-06-05 22:30:54.000000000 +1000 @@ -452,8 +452,10 @@ db_query("UPDATE {node} SET ". implode(', ', $q) ." WHERE nid = '$node->nid'", $v); // Call the node specific callback (if any): - node_invoke($node, 'update'); - node_invoke_nodeapi($node, 'update'); + if (arg(0) == 'node' && arg(2) == 'edit') { + node_invoke($node, 'update'); + node_invoke_nodeapi($node, 'update'); + } } // Clear the cache so an anonymous poster can see the node being added or updated.