From 5f28fed41c45f9f15e3e61a5ce7782b1ec2fd2a0 Mon Sep 17 00:00:00 2001
From: Chris Leppanen <chris.leppanen@gmail.com>
Date: Wed, 19 Dec 2012 16:21:51 -0800
Subject: [PATCH] Issue #1870528 by cmriley: Fixed Undefined index:
 content_type() in feeds_rules_event_info() (line 56 feeds/feeds.rules.inc.

---
 feeds.rules.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/feeds.rules.inc b/feeds.rules.inc
index 45f414c1..e5bd892d 100644
--- a/feeds.rules.inc
+++ b/feeds.rules.inc
@@ -53,7 +53,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['content_type'];
+      $info['feeds_import_'. $importer->id]['variables'][$entity_type]['bundle'] = $config['bundle'];
     }
   }
   return $info;
-- 
GitLab