diff --git a/field_collection.entity.inc b/field_collection.entity.inc index 7cbc0da..e4f4415 100644 --- a/field_collection.entity.inc +++ b/field_collection.entity.inc @@ -313,7 +313,7 @@ class FieldCollectionItemEntity extends Entity { $result = $query->execute(); if ($result) { $this->hostEntityType = key($result); - $data = $result[$this->hostEntityType]; + $data = current($result); if ($this->isInUse()) { $data_array_keys = array_keys($data);