[development] Ignoring Pass by Reference
nan wich
nan_wich at bellsouth.net
Wed Sep 15 16:18:47 UTC 2010
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.
Nancy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100915/06c29cd0/attachment-0001.html
More information about the development
mailing list