Making a copy of $a1 should be fine. clone() can only receive an object as an argument or it produces a fatal error.<br><br><div class="gmail_quote">On Wed, Sep 15, 2010 at 10:18 AM, nan wich <span dir="ltr"><<a href="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt; color: rgb(127, 0, 63);">
<div></div>
<div>I am coding a hook_comment, which normally specifies "&$a1" in the parameters. It would be helpful to just add some additional stuff to that array before calling drupal_write_record. I have no idea whether the additional data would "upset" the comment module and I don't really need to modify the form data anyway. Would it be reasonable to just drop the ampersand from the parameters? I would definitely add a comment that I'm doing that.<br>
</div>
<p><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><b>Nancy</b></i></font></p></div></div></blockquote></div><br>