X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_bonus.php;h=84912169d5cc332df93dc0aaa7e708401fc47be0;hp=d5d8a09f1d580d45d3381c23d7175751952ad9b5;hb=3afdce4fe00b4af570122ce7b8158ced44aec7d3;hpb=30986f637cd3c03951bdbfc880b9a420f7724ce0;ds=sidebyside diff --git a/inc/modules/admin/what-config_bonus.php b/inc/modules/admin/what-config_bonus.php index d5d8a09f1d..84912169d5 100644 --- a/inc/modules/admin/what-config_bonus.php +++ b/inc/modules/admin/what-config_bonus.php @@ -45,12 +45,12 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { // Add description as navigation point ADD_DESCR('admin', __FILE__); -if (IS_FORM_SENT()) { +if (isFormSent()) { // Replace german decimal commas to computer decimal dots - REQUEST_POST('login_bonus') = convertCommaToDot(REQUEST_POST('login_bonus') ); - REQUEST_POST('turbo_bonus') = convertCommaToDot(REQUEST_POST('turbo_bonus') ); - REQUEST_POST('bonus_ref') = convertCommaToDot(REQUEST_POST('bonus_ref') ); - REQUEST_POST('bonus_order') = convertCommaToDot(REQUEST_POST('bonus_order') ); + REQUEST_SET_POST('login_bonus', convertCommaToDot(REQUEST_POST('login_bonus'))); + REQUEST_SET_POST('turbo_bonus', convertCommaToDot(REQUEST_POST('turbo_bonus'))); + REQUEST_SET_POST('bonus_ref', convertCommaToDot(REQUEST_POST('bonus_ref'))); + REQUEST_SET_POST('bonus_order', convertCommaToDot(REQUEST_POST('bonus_order'))); REQUEST_SET_POST('bonus_notify_points', convertCommaToDot(REQUEST_POST('bonus_notify_points'))); // Generate string for saving ranks