summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/user_reference/user_reference.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user_reference/user_reference.module b/modules/user_reference/user_reference.module
index 9186ae5..48bebd8 100644
--- a/modules/user_reference/user_reference.module
+++ b/modules/user_reference/user_reference.module
@@ -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.