Skip to content
Snippets Groups Projects
Commit 5f28fed4 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Issue #1870528 by cmriley: Fixed Undefined index: content_type() in...

Issue #1870528 by cmriley: Fixed Undefined index: content_type() in feeds_rules_event_info() (line 56 feeds/feeds.rules.inc.
parent 98ba6b58
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ function feeds_rules_event_info() { ...@@ -53,7 +53,7 @@ function feeds_rules_event_info() {
// Add bundle information if the node processor is used. // Add bundle information if the node processor is used.
if ($processor instanceof FeedsNodeProcessor) { if ($processor instanceof FeedsNodeProcessor) {
$config = $processor->getConfig(); $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; return $info;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment