summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-31 08:26:59 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-31 08:26:59 +0000
commita0f3abf03571bcb90e853d5d463f0d3e3b5753a7 (patch)
treeeb49f1b7b7b861903a2fa13810f698b6ec32f00a /modules/taxonomy/taxonomy.module
parent87cbbe65790ef594ff48fdf056b6a3198c6e6be3 (diff)
downloadbrdo-a0f3abf03571bcb90e853d5d463f0d3e3b5753a7.tar.gz
brdo-a0f3abf03571bcb90e853d5d463f0d3e3b5753a7.tar.bz2
- Patch #661494 by yched: fixed direct calls to node_view() do not trigger f_a_prepare_view().
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 5c63fc057..68bc50687 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1079,12 +1079,6 @@ function taxonomy_field_formatter_view($object_type, $object, $field, $instance,
switch ($display['type']) {
case 'taxonomy_term_link':
foreach ($items as $delta => $item) {
- // @todo Remove this when "node_view() does not call
- // field_attach_prepare_view()" bug is fixed.
- // See http://drupal.org/node/493314.
- if (!isset($item['taxonomy_term'])) {
- $item['taxonomy_term'] = taxonomy_term_load($item['tid']);
- }
$term = $item['taxonomy_term'];
$element[$delta] = array(
'#type' => 'link',