From d872757edbc5135b802d3cd03340b8e9fe457176 Mon Sep 17 00:00:00 2001 From: Matt Fletcher Date: Thu, 8 Jul 2021 17:15:16 +0000 Subject: [PATCH] Remove deprecated message from 2Checkout --- includes/modules/payment/pm2checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/modules/payment/pm2checkout.php b/includes/modules/payment/pm2checkout.php index 3924b87a6..32d6d7305 100644 --- a/includes/modules/payment/pm2checkout.php +++ b/includes/modules/payment/pm2checkout.php @@ -204,7 +204,7 @@ function format_raw($number, $currency_code = '', $currency_value = '') { return number_format(tep_round($number * $currency_value, $currencies->currencies[$currency_code]['decimal_places']), $currencies->currencies[$currency_code]['decimal_places'], '.', ''); } - function getCurrencies($value, $key = '') { + public static function getCurrencies($value, $key = '') { $name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value'); $currencies_array = [];