Skip to content

Commit 3d0a9f9

Browse files
committed
MAGETWO-51252: Something went wrong when save category
1 parent 6f5de44 commit 3d0a9f9

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)