@@ -96,7 +96,7 @@ public function testDeleteEntity()
96
96
}
97
97
98
98
/**
99
- * Retrieve eav attribute row.
99
+ * Retrieve eav attribute row.
100
100
*
101
101
* @param int $entityTypeId
102
102
* @param int $attributeSetId
@@ -107,7 +107,7 @@ private function getEavEntityAttributeRow($entityTypeId, $attributeSetId, $attri
107
107
{
108
108
$ connection = $ this ->productResource ->getConnection ();
109
109
$ select = $ connection ->select ()
110
- ->from ($ connection -> getTableName ('eav_entity_attribute ' ))
110
+ ->from ($ this -> productResource -> getTable ('eav_entity_attribute ' ))
111
111
->where ('attribute_set_id=? ' , $ attributeSetId )
112
112
->where ('attribute_id=? ' , $ attributeId )
113
113
->where ('entity_type_id=? ' , $ entityTypeId );
@@ -127,7 +127,7 @@ private function getProductAttributeValues($attributeId, $productId, $table)
127
127
{
128
128
$ connection = $ this ->productResource ->getConnection ();
129
129
$ select = $ connection ->select ()
130
- ->from ($ connection -> getTableName ($ table ))
130
+ ->from ($ this -> productResource -> getTable ($ table ))
131
131
->where ('attribute_id=? ' , $ attributeId )
132
132
->where ('entity_id=? ' , $ productId );
133
133
0 commit comments