diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-18 00:07:38 -0500 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-18 00:07:38 -0500 |
commit | 75a0deb2722bde4fc7d60d02f186809fbc77320d (patch) | |
tree | 32f7f65f2a30a4970550f93e45f79c2b4c3bd589 /modules/taxonomy | |
parent | 8c3dbb5e7f0a997662350ca44efa271514e83047 (diff) | |
download | brdo-75a0deb2722bde4fc7d60d02f186809fbc77320d.tar.gz brdo-75a0deb2722bde4fc7d60d02f186809fbc77320d.tar.bz2 |
Issue #1089174 by plach: Fixed Prepare view hooks do not receive the language parameter.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 5fb41e61f..50d2fd608 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -682,8 +682,8 @@ function taxonomy_term_view($term, $view_mode = 'full', $langcode = NULL) { $langcode = $GLOBALS['language_content']->language; } - field_attach_prepare_view('taxonomy_term', array($term->tid => $term), $view_mode); - entity_prepare_view('taxonomy_term', array($term->tid => $term)); + field_attach_prepare_view('taxonomy_term', array($term->tid => $term), $view_mode, $langcode); + entity_prepare_view('taxonomy_term', array($term->tid => $term), $langcode); $build = array( '#theme' => 'taxonomy_term', |