@HeathenMagic
Eeek. That's a bug. Can't believe I missed it
Guess I was too busy checking very precisely the other currencies in my test dB that I forgot the default!!
I'll submit a corrected version immediately, and until it's approved, here's the correction.
Change lines 58-61 from:
PHP Code:
$rate = $currencyArray[$currency['code']] / $currencyArray[DEFAULT_CURRENCY];
}
$updateSql = "UPDATE " . TABLE_CURRENCIES . "
SET value = '" . $rate * CURRENCY_UPLIFT_RATIO . "',
to:
PHP Code:
$rate = ($currencyArray[$currency['code']] / $currencyArray[DEFAULT_CURRENCY]) * CURRENCY_UPLIFT_RATIO;
}
$updateSql = "UPDATE " . TABLE_CURRENCIES . "
SET value = '" . $rate . "',
Bookmarks