@HeathenMagic
Eeek. That's a bug. Can't believe I missed itGuess 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:
to:PHP Code:$rate = $currencyArray[$currency['code']] / $currencyArray[DEFAULT_CURRENCY];
}
$updateSql = "UPDATE " . TABLE_CURRENCIES . "
SET value = '" . $rate * CURRENCY_UPLIFT_RATIO . "',
PHP Code:$rate = ($currencyArray[$currency['code']] / $currencyArray[DEFAULT_CURRENCY]) * CURRENCY_UPLIFT_RATIO;
}
$updateSql = "UPDATE " . TABLE_CURRENCIES . "
SET value = '" . $rate . "',


Guess I was too busy checking very precisely the other currencies in my test dB that I forgot the default!!
Reply With Quote
