Skip to content
Snippets Groups Projects
Commit 77044620 authored by twistor's avatar twistor Committed by Chris Leppanen
Browse files

Issue #2509444 by twistor: Field Feeds Presave Not Importing User Fields

parent 94a29ed0
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ function field_feeds_presave(FeedsSource $source, $entity, $item, $entity_id) {
$field_name = $instance['field_name'];
// Skip fields that Feeds isn't mapping to, and empty fields.
if (!isset($feeds_fields[$field_name]) || empty($entity->$field_name)) {
if (!isset($feeds_fields[$field_name]) || empty($entity->$field_name) || !is_array($entity->$field_name)) {
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment