<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you.&nbsp; Thank you.&nbsp; Thank you.<br>
<br>
Using the correct function signature made all the difference in the
world:<br>
<pre class="php"><code><span class="php-keyword">function</span> <span
 class="php-function-or-constant"><a
 href="http://api.drupal.org/api/function/hook_nodeapi/5"
 title="Act on nodes defined by other modules." class="local active">agenda_nodeapi</a></span>(&amp;<span
 class="php-variable">$node</span>, <span class="php-variable">$op</span>, <span
 class="php-variable">$a3</span> = <span
 class="php-function-or-constant">NULL</span>, <span
 class="php-variable">$a4</span> = <span
 class="php-function-or-constant">NULL</span>) {</code></pre>
-ron<br>
<br>
Jakob Petsovits wrote:<br>
<blockquote cite="mid200712190010.44000.jpetso@gmx.at" type="cite">
  <pre wrap="">On Tuesday, 18. December 2007, Ron Parker wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">The entire code:

function agenda_nodeapi($node, $op, $arg = 0) {
    </pre>
  </blockquote>
  <pre wrap=""><!---->(...)

When you don't take $node as reference parameter, you'll have a hard time 
changing it. Better copy hook_nodeapi() function signatures from official 
places like <a class="moz-txt-link-freetext" href="http://api.drupal.org/?q=api/function/hook_nodeapi/5">http://api.drupal.org/?q=api/function/hook_nodeapi/5</a> .

Have fun,
  Jakob

__________ NOD32 2731 (20071218) Information __________

This message was checked by NOD32 antivirus system.
<a class="moz-txt-link-freetext" href="http://www.eset.com">http://www.eset.com</a>



  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Ron Parker
Software Creations               <a class="moz-txt-link-freetext" href="http://www.scbbs.com">http://www.scbbs.com</a>
Self-Administration Web Site     <a class="moz-txt-link-freetext" href="http://saw.scbbs.com">http://saw.scbbs.com</a>
SDSS Subscription Mgmt Service   <a class="moz-txt-link-freetext" href="http://sdss.scbbs.com">http://sdss.scbbs.com</a>
Central Ave Dance Ensemble       <a class="moz-txt-link-freetext" href="http://www.centralavedance.com">http://www.centralavedance.com</a>
R &amp; B Salsa                      <a class="moz-txt-link-freetext" href="http://www.randbsalsa.com">http://www.randbsalsa.com</a>
</pre>
</body>
</html>