Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
field_collection
Commits
68a562d5
Commit
68a562d5
authored
Sep 03, 2019
by
TLHenriksen
Committed by
Ra Mänd
Sep 03, 2019
Browse files
Issue #3078565 by TLHenriksen: Pending Update #7009 Failed
parent
6f43a9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
field_collection.install
field_collection.install
+1
-0
No files found.
field_collection.install
View file @
68a562d5
...
...
@@ -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'
]];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment