diff --git a/mappers/taxonomy.inc b/mappers/taxonomy.inc index aea428b97c8c8f7e133a196f18da636a18fafb19..7103255024333cf59ccdc7c9b8e8a05f1fc71371 100644 --- a/mappers/taxonomy.inc +++ b/mappers/taxonomy.inc @@ -26,11 +26,11 @@ function taxonomy_feeds_parser_sources_alter(&$sources, $content_type) { //options to inherit terms for all vocabs I have $vocabs = taxonomy_get_vocabularies($content_type); foreach($vocabs as $voc) { - $vid = $voc->vid; + $id = $voc->vid; if (strpos($voc->module, 'features_') === 0) { - $vid = $voc->module; + $id = $voc->module; } - $sources['parent:taxonomy:'. $vid] = array( + $sources['parent:taxonomy:'. $id] = array( 'name' => t('Feed node: Taxonomy: @vocabulary', array('@vocabulary' => $voc->name)), 'description' => t('Taxonomy terms from feed node in given vocabulary.'), 'callback' => 'taxonomy_feeds_get_source',