<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Safest bet would be just to clone the object with drupal_clone (or
just clone() if this will be a PHP 5+ module).<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 9/15/2010 12:18 PM, nan wich wrote:
<blockquote cite="mid:716788.21327.qm@web180305.mail.gq1.yahoo.com"
type="cite">
<style type="text/css"><!-- DIV {margin:0px;} --></style>
<div style="font-family: Courier
New,courier,monaco,monospace,sans-serif; font-size: 12pt; color:
rgb(127, 0, 63);">
<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 size="4" color="#ff007f" face="bookman old style, new
york, times, serif"><em><strong>Nancy</strong></em></font></p>
</div>
</blockquote>
</body>
</html>