summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filefield_widget.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/filefield_widget.inc b/filefield_widget.inc
index 7277a56..d86e999 100644
--- a/filefield_widget.inc
+++ b/filefield_widget.inc
@@ -405,7 +405,7 @@ function filefield_widget_validate(&$element, &$form_state) {
// but hook_file_delete() needs to be implemented first.
$references = module_invoke('filefield', 'file_references', $file);
if ($references['filefield'] == 0) {
- form_error($element, t('Referencing to the file used the %field field is not allowed.', array('%field' => $element['#title'])));
+ form_error($element, t('Referencing to the file used in the %field field is not allowed.', array('%field' => $element['#title'])));
}
}
}