diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 554d6d2..7233955 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1961,7 +1961,9 @@ function taxonomy_build_node_index($node) { foreach (field_available_languages('node', $field) as $langcode) { if (!empty($items[$langcode])) { foreach ($items[$langcode] as $item) { - $tid_all[$item['tid']] = $item['tid']; + if (is_numeric($item['tid'])) { + $tid_all[$item['tid']] = $item['tid']; + } } } }