summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/field/field.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 5f64117..90a09fe 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -873,7 +873,7 @@ function hook_field_widget_form(&$form, &$form_state, $field, $instance, $langco
'#type' => $instance['widget']['type'],
'#default_value' => isset($items[$delta]) ? $items[$delta] : '',
);
- return $element;
+ return array('value' => $element);
}
/**