Skip to content
Snippets Groups Projects
Commit 30458b70 authored by Francé Wilke's avatar Francé Wilke
Browse files

Merge branch 'inability_to_change_payment_methods' into 'dev'

Inability to change payment methods

See merge request !19
parents a092e7cc 9a2c1137
Branches
Tags
2 merge requests!201.0.41,!19Inability to change payment methods
Pipeline #74324 passed
...@@ -535,7 +535,7 @@ class BobGo extends AbstractCarrierOnline implements \Magento\Shipping\Model\Car ...@@ -535,7 +535,7 @@ class BobGo extends AbstractCarrierOnline implements \Magento\Shipping\Model\Car
public function getAllowedMethods(): array public function getAllowedMethods(): array
{ {
$allowedMethods = $this->getConfigData('allowed_methods'); $allowedMethods = $this->getConfigData('allowed_methods');
if ($allowedMethods === false) { if (empty($allowedMethods)) {
return []; // Return an empty array if no allowed methods are configured return []; // Return an empty array if no allowed methods are configured
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment