Skip to content
Snippets Groups Projects
Commit 7b9ed6b8 authored by Alex Barth's avatar Alex Barth
Browse files

Fix a notice.

parent 7053fd0f
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,8 @@ class FeedsSource extends FeedsConfigurable {
foreach ($this->importer->plugin_types as $type) {
if ($this->importer->$type->hasSourceConfig()) {
$class = get_class($this->importer->$type);
$form[$class] = $this->importer->$type->sourceForm($this->config[$class]);
$config = isset($this->config[$class]) ? $this->config[$class] : array();
$form[$class] = $this->importer->$type->sourceForm($config);
$form[$class]['#tree'] = TRUE;
}
}
......
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