summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-27 00:33:52 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-27 00:33:52 +0000
commit985884f98e3553c29adf5a2bca48646a533d713f (patch)
tree80c21bcfcae63c20f150f5b072ac480e443f8139 /modules/taxonomy/taxonomy.module
parent2a2a7f3f514a12ef2ebd9805340a897a258f988b (diff)
downloadbrdo-985884f98e3553c29adf5a2bca48646a533d713f.tar.gz
brdo-985884f98e3553c29adf5a2bca48646a533d713f.tar.bz2
#559506 by quicksketch and plach: Added variable to field widgets.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-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 0d1fde908..26ca368aa 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -2017,7 +2017,7 @@ function taxonomy_term_title($term) {
/**
* Implement hook_field_widget().
*/
-function taxonomy_field_widget(&$form, &$form_state, $field, $instance, $items, $delta = NULL) {
+function taxonomy_field_widget(&$form, &$form_state, $field, $instance, $langcode, $items, $delta = NULL) {
$element = array(
'#type' => $instance['widget']['type'],
'#default_value' => !empty($items) ? $items : array(),