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
605e0e4e
Commit
605e0e4e
authored
May 02, 2019
by
damienmckenna
Committed by
Ra Mänd
May 02, 2019
Browse files
Issue #3051803 by DamienMcKenna: Fix PHP 5.3 compatibility in field_collection.module
parent
45a4e02c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
field_collection.module
field_collection.module
+2
-1
No files found.
field_collection.module
View file @
605e0e4e
...
@@ -2343,7 +2343,8 @@ function field_collection_file_feeds_set_target($source, $entity, $target, $valu
...
@@ -2343,7 +2343,8 @@ function field_collection_file_feeds_set_target($source, $entity, $target, $valu
* item, then NULL is passed.
* item, then NULL is passed.
*/
*/
function
field_collection_feeds_presave
(
FeedsSource
$source
,
$entity
,
$item
,
$entity_id
)
{
function
field_collection_feeds_presave
(
FeedsSource
$source
,
$entity
,
$item
,
$entity_id
)
{
$mappings
=
$source
->
importer
()
->
getConfig
()[
'processor'
][
'config'
][
'mappings'
];
$feed_config
=
$source
->
importer
()
->
getConfig
();
$mappings
=
$feed_config
[
'processor'
][
'config'
][
'mappings'
];
// Only hook in when updating the entity.
// Only hook in when updating the entity.
if
(
empty
(
$entity_id
))
{
if
(
empty
(
$entity_id
))
{
...
...
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