if (WERNIS_TEST_API()) {
// Revert german commata
foreach (array('payout_factor', 'withdraw_factor', 'payout_fee_percent', 'withdraw_fee_percent') as $revert) {
- setRequestPostElement('wernis_'.$revert, convertCommaToDot(postRequestElement('wernis_'.$revert)));
+ setRequestPostElement('wernis_' . $revert, postRequestElement('wernis_' . $revert));
} // END - if
// Hash the password and remove clear-text
} else {
// Prepare data for template output
$content = array(
- 'payout_factor' => translateComma(getConfig('wernis_payout_factor')),
- 'withdraw_factor' => translateComma(getConfig('wernis_withdraw_factor')),
- 'payout_fee_percent' => translateComma(getConfig('wernis_payout_fee_percent')),
- 'withdraw_fee_percent' => translateComma(getConfig('wernis_withdraw_fee_percent')),
'wernis_payout_active_y' => '',
'wernis_payout_active_n' => '',
'wernis_withdraw_active_y' => '',