#635850 by mikejoconnor: fix name clash.
authorYves Chedemois
Mon, 30 Nov 2009 21:00:54 +0000 (21:00 +0000)
committerYves Chedemois
Mon, 30 Nov 2009 21:00:54 +0000 (21:00 +0000)
modules/user_reference/user_reference.module

index 9186ae5..48bebd8 100644 (file)
@@ -373,9 +373,9 @@ function user_reference_field_widget(&$form, &$form_state, $field, $instance, $l
 /**
  * Implementation of hook_field_widget_error().
  */
-function nodereference_field_widget_error($element, $error) {
+function user_reference_field_widget_error($element, $error) {
   form_error($element['uid'], $error['message']);
-}               
+}
 
 /**
  * Value for a user_reference autocomplete element.