[support] Rules on update node use same value for $node and $node_unchanged

Carl Wiedemann carl.wiedemann at gmail.com
Thu Sep 22 14:59:50 UTC 2011


>
> hook_nodeapi works on the new node "version" (new data). I need the old
> value and the new value.


You can do a node_load() in $op == 'presave' to get the old information.

Carl Wiedemann
Website design and development consulting
carl.wiedemann at gmail.com | skype: c4rlww
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110922/e108b83c/attachment.html 


More information about the support mailing list