diff --git a/Model/Carrier/BobGo.php b/Model/Carrier/BobGo.php index d269be10d69d3b406fd4412d28b3a3e6f0fbad17..12e46e69ab6fe302edc536fd7bf791d7ecf49fea 100644 --- a/Model/Carrier/BobGo.php +++ b/Model/Carrier/BobGo.php @@ -535,7 +535,7 @@ class BobGo extends AbstractCarrierOnline implements \Magento\Shipping\Model\Car public function getAllowedMethods(): array { $allowedMethods = $this->getConfigData('allowed_methods'); - if ($allowedMethods === false) { + if (empty($allowedMethods)) { return []; // Return an empty array if no allowed methods are configured }