Skip to content

Commit ce9bf02

Browse files
Felix Delvalvzabaznov
authored andcommitted
MAGETWO-66366: \Magento\CatalogInventory\Model\Stock\Status->getStockId() to return correct value for 2.1
1 parent ec376bd commit ce9bf02

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogInventory/Model/Stock

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/Stock/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function getWebsiteId()
9999
*/
100100
public function getStockId()
101101
{
102-
return $this->getData(self::KEY_WEBSITE_ID);
102+
return $this->getData(self::KEY_STOCK_ID);
103103
}
104104

105105
/**

0 commit comments

Comments
 (0)