Skip to content

Commit

Permalink
Remove deprecated message from 2Checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
ecartz committed Jul 8, 2021
1 parent 0a4cd54 commit d872757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/modules/payment/pm2checkout.php
Expand Up @@ -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 = [];
Expand Down

0 comments on commit d872757

Please sign in to comment.