Commit 685447ed authored by retiredpro's avatar retiredpro Committed by Renato Gonçalves H
Browse files

Issue #3190631 by retiredpro, wamwam, ram4nd, RenatoG: After upgrading notice appear in dblog

parent bebaf431
......@@ -1021,7 +1021,7 @@ function field_collection_entity_preload($entities, $langcode, &$items, $fields)
}
}
if ($rekey) {
if ($rekey && $new_items) {
// Rekey the items array.
$new_items[$id] = array_values($new_items[$id]);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment