From 76d9095ab8332313c8e64341946b5eb4b980ee18 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 25 Jun 2009 06:23:37 +0000 Subject: - Patch #501420 by yched: field_attach_form() should take by reference. --- modules/field/field.attach.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/field/field.attach.inc') diff --git a/modules/field/field.attach.inc b/modules/field/field.attach.inc index 1ebf0729a..42984beba 100644 --- a/modules/field/field.attach.inc +++ b/modules/field/field.attach.inc @@ -363,7 +363,7 @@ function _field_invoke_multiple_default($op, $obj_type, $objects, &$a = NULL, &$ * TODO : document the resulting $form structure, like we do for * field_attach_view(). */ -function field_attach_form($obj_type, $object, &$form, $form_state) { +function field_attach_form($obj_type, $object, &$form, &$form_state) { // TODO : something's not right here : do we alter the form or return a value ? $form += (array) _field_invoke_default('form', $obj_type, $object, $form, $form_state); -- cgit v1.2.3