if (!empty($rate)) $RATES[] = $rate;
}
REQUEST_SET_POST('turbo_rates', trim(implode(';', $RATES)));
- REQUEST_UNSET_POST(('rate'));
+ REQUEST_UNSET_POST('rate');
// Automatically calculate bonus points for ranks 2 and 3 when not set
- if (!REQUEST_ISSET_POST(('turbo_rates'))) REQUEST_SET_POST('turbo_rates', "".round(getConfig('turbo_bonus') / 2).';'.round(getConfig('turbo_bonus') / 4)."");
+ if (!REQUEST_ISSET_POST(('turbo_rates'))) REQUEST_SET_POST('turbo_rates', ''.round(getConfig('turbo_bonus') / 2).';'.round(getConfig('turbo_bonus') / 4).'');
// Save data
ADMIN_SAVE_SETTINGS_POST();
define('__TLINES_VALUE', getConfig('bonus_lines'));
// Transfer options to template __MEMBER_SELECTION
- define('__MEMBER_SELECTION', ADD_MEMBER_SELECTION_BOX(getConfig('bonus_uid'), false, true, true, "bonus_uid"));
+ define('__MEMBER_SELECTION', ADD_MEMBER_SELECTION_BOX(getConfig('bonus_uid'), false, true, true, 'bonus_uid'));
// Initialize array for the points list
//die("*".getConfig('turbo_rates')."*");