// Automatically calculate bonus points for ranks 2 and 3 when not set
if (!isPostRequestElementSet('turbo_rates')) {
- setPostRequestElement('turbo_rates', ''.round(getConfig('turbo_bonus') / 2).';'.round(getConfig('turbo_bonus') / 4).'');
+ setPostRequestElement('turbo_rates', ''.round(getTurboBonus() / 2).';'.round(getTurboBonus() / 4).'');
} // END - if
// Save data
$RANKS = explode(';', getTurboRates());
// Automatically calculate bonus points for ranks 2 and 3 when not set
- if (getTurboRates() == '') $RANKS = array(round(getConfig('turbo_bonus') / 2), round(getConfig('turbo_bonus') / 4));
+ if (getTurboRates() == '') $RANKS = array(round(getTurboBonus() / 2), round(getTurboBonus() / 4));
// Generate list
$OUT = '<ol start="2">';