Skip to content

Commit d58d143

Browse files
author
Felix Delval
committed
StockStatus->getStockId() to return correct value
1 parent 3561b66 commit d58d143

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)