diff --git a/payment/classes/helper.php b/payment/classes/helper.php index f0792b1c932..b5dc3c17471 100644 --- a/payment/classes/helper.php +++ b/payment/classes/helper.php @@ -49,7 +49,7 @@ class helper { /** @var \paygw_paypal\gateway $classname */ $classname = '\paygw_' . $plugin . '\gateway'; - $currencies += component_class_callback($classname, 'get_supported_currencies', [], []); + $currencies = array_merge($currencies, component_class_callback($classname, 'get_supported_currencies', [], [])); } $currencies = array_unique($currencies);