summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-07 22:30:07 (GMT)
committer Alex Barth2010-09-07 22:30:07 (GMT)
commit42b597728fe3e9e17828a881e7fe26de03fb684e (patch)
tree5c906ff9c36019493aa9d9cb91f6362919b9386a
parentd6340b6d6dd3fa7ca812b7aebccf784c8604154c (diff)
Prepare for using vocab's module as identifier.
-rw-r--r--mappers/taxonomy.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/mappers/taxonomy.inc b/mappers/taxonomy.inc
index aea428b..7103255 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',