summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-05-15 17:38:57 -0700
committerDries Buytaert <dries@buytaert.net>2011-05-15 17:38:57 -0700
commit78f4cc01c110731cf657deec257bf9cbb0f2d426 (patch)
treef89a163907a003d737c890d14b81178dea97c72c /modules/taxonomy
parent2c7a84fd32eebf124135c580dfafe84816b3859e (diff)
downloadbrdo-78f4cc01c110731cf657deec257bf9cbb0f2d426.tar.gz
brdo-78f4cc01c110731cf657deec257bf9cbb0f2d426.tar.bz2
- Patch #1157426 by Gábor Hojtsy: field system uses t() incorrectly and inconsistently.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index f08df601e..5fb41e61f 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1316,7 +1316,7 @@ function taxonomy_field_validate($entity_type, $entity, $field, $instance, $lang
if (!$validate) {
$errors[$field['field_name']][$langcode][$delta][] = array(
'error' => 'taxonomy_term_reference_illegal_value',
- 'message' => t('%name: illegal value.', array('%name' => t($instance['label']))),
+ 'message' => t('%name: illegal value.', array('%name' => $instance['label'])),
);
}
}