Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
field_collection
Commits
d5456f36
Commit
d5456f36
authored
Jan 25, 2019
by
Maxiweb
Committed by
Nedjo Rogers
Jan 25, 2019
Browse files
Issue #2936874 by samuel.mortenson, Max Lovric, sickness29: PHP7.2 - Deprecated function: each()
parent
b158ce36
Changes
1
Hide whitespace changes
Inline
Side-by-side
field_collection.entity.inc
View file @
d5456f36
...
...
@@ -312,7 +312,8 @@ class FieldCollectionItemEntity extends Entity {
}
$result
=
$query
->
execute
();
if
(
$result
)
{
list
(
$this
->
hostEntityType
,
$data
)
=
each
(
$result
);
$this
->
hostEntityType
=
key
(
$result
);
$data
=
current
(
$result
);
if
(
$this
->
isInUse
())
{
$data_array_keys
=
array_keys
(
$data
);
...
...
Write
Preview
Supports
Markdown
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