Skip to content

Commit 0ffe2d8

Browse files
committed
Merge branch 'MAGETWO-51252' of github.corp.magento.com:magento-troll/magento2ce into bugfixes
2 parents 12d0b6f + 3d0a9f9 commit 0ffe2d8

File tree

1 file changed

+5
-1
lines changed
  • app/code/Magento/Eav/Model/Entity

1 file changed

+5
-1
lines changed

app/code/Magento/Eav/Model/Entity/Type.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,11 @@ public function getEntityIdField()
278278
*/
279279
public function getEntityTable()
280280
{
281-
return isset($this->_data['entity_table']) ? $this->_data['entity_table'] : null;
281+
if (isset($this->_data['entity_table'])) {
282+
return $this->getResource()->getTable($this->_data['entity_table']);
283+
}
284+
285+
return null;
282286
}
283287

284288
/**

0 commit comments

Comments
 (0)