From 5072e10f49eaf93b65ec5158d00a915cb9a77426 Mon Sep 17 00:00:00 2001 From: Chris Leppanen <chris.leppanen@gmail.com> Date: Thu, 17 Jan 2013 14:55:44 -0800 Subject: [PATCH] Use bundle() method. --- feeds.rules.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/feeds.rules.inc b/feeds.rules.inc index e5bd892d..dce753a4 100644 --- a/feeds.rules.inc +++ b/feeds.rules.inc @@ -52,8 +52,7 @@ function feeds_rules_event_info() { ); // Add bundle information if the node processor is used. if ($processor instanceof FeedsNodeProcessor) { - $config = $processor->getConfig(); - $info['feeds_import_'. $importer->id]['variables'][$entity_type]['bundle'] = $config['bundle']; + $info['feeds_import_'. $importer->id]['variables'][$entity_type]['bundle'] = $processor->bundle(); } } return $info; -- GitLab