[development] problem with PHP 5 and node_load
Scott McLewin
drupal at mclewin.com
Sun Oct 1 02:23:42 UTC 2006
Ahh, thanks Peter. I'll go back to revisit the code I altered to use
the array() nomenclature on the node_load call after applying that patch.
Peter Wolanin wrote:
> looking at node_load, I think this will force the node to be re-loaded
> from the DB (including all the hook_view and hook_nodeapi calls),
> since the cached object is only returned if a numeric parameter is
> passed. Thus, it may solve the problem but creates a potential
> performance hit.
>
> -Peter
--
*Scott McLewin*
www.folkjam.org
find jams. post jams. play well with others.
<http://www.folkjam.org>
More information about the development
mailing list