Skip to content

Commit dca5182

Browse files
author
Oleksii Korshenko
authored
MAGETWO-66681: Fix checking active carrier against store #7344
2 parents 5651aef + cadb6e9 commit dca5182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Shipping/Model/CarrierFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ public function createIfActive($carrierCode, $storeId = null)
106106
{
107107
return $this->_scopeConfig->isSetFlag(
108108
'carriers/' . $carrierCode . '/active',
109-
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
109+
\Magento\Store\Model\ScopeInterface::SCOPE_STORE,
110+
$storeId
110111
) ? $this->create(
111112
$carrierCode,
112113
$storeId

0 commit comments

Comments
 (0)