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

#885724 eliotttf: Avoid array_flip() on non scalars.

parent a3968487
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX
-------------------------------- --------------------------------
- #885724 eliotttf: Avoid array_flip() on non scalars.
- #885052 Hanno: Fix small typo in access rights. - #885052 Hanno: Fix small typo in access rights.
- #863494 ekes, alex_b: Delete temporary enclosures file. - #863494 ekes, alex_b: Delete temporary enclosures file.
- #849986 lyricnz, alex_b: Cleaner batch support. - #849986 lyricnz, alex_b: Cleaner batch support.
......
...@@ -513,7 +513,7 @@ function _feeds_importer_digest() { ...@@ -513,7 +513,7 @@ function _feeds_importer_digest() {
else { else {
$importers = array(); $importers = array();
foreach (feeds_importer_load_all() as $importer) { foreach (feeds_importer_load_all() as $importer) {
$importers[$importer->id] = $importer->config['content_type']; $importers[$importer->id] = isset($importer->config['content_type']) ? $importer->config['content_type'] : '';
} }
cache_set(__FUNCTION__, $importers); cache_set(__FUNCTION__, $importers);
} }
......
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