Commit 68a562d5 authored by TLHenriksen's avatar TLHenriksen Committed by Ra Mänd
Browse files

Issue #3078565 by TLHenriksen: Pending Update #7009 Failed

parent 6f43a9b0
......@@ -408,6 +408,7 @@ function field_collection_update_7009(&$sandbox) {
if (!isset($sandbox['current_field'])) {
$sandbox['field_collection_fields'] = array_keys(field_read_fields(array('type' => 'field_collection')));
if(empty($sandbox['field_collection_fields'])) { return; }
$sandbox['current_field'] = 0;
$sandbox['current_field_collection_item'] = 0;
$sandbox['field_name'] = $sandbox['field_collection_fields'][$sandbox['current_field']];
......
Markdown is supported
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