We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa272e6 commit f5d692fCopy full SHA for f5d692f
app/code/Magento/Shipping/Model/Config.php
@@ -89,7 +89,7 @@ public function getActiveCarriers($store = null)
89
public function getAllCarriers($store = null)
90
{
91
$carriers = [];
92
- $config = $this->_scopeConfig->getValue('carriers', \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $store);
+ $config = $this->_scopeConfig->getValue('carriers', \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $store) ?: [];
93
foreach (array_keys($config) as $carrierCode) {
94
$model = $this->_carrierFactory->create($carrierCode, $store);
95
if ($model) {
0 commit comments