X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_beg.php;h=5342beb5ad4a77e051c4c70c38f1ae8d4573f7a5;hp=40d412e6b200c50db128ec27721d51983cc90874;hb=b3f82be7e5ecc294acfe9c00ef75e3dc0c8b43d1;hpb=1c84af63a717e3fb454a790b8391d84a4727952d diff --git a/inc/modules/admin/what-config_beg.php b/inc/modules/admin/what-config_beg.php index 40d412e6b2..5342beb5ad 100644 --- a/inc/modules/admin/what-config_beg.php +++ b/inc/modules/admin/what-config_beg.php @@ -43,9 +43,9 @@ ADD_DESCR("admin", basename(__FILE__)); if (isset($_POST['ok'])) { // Translate german decimal commas to computer decimal dots - $_POST['beg_points'] = str_replace(",", ".", $_POST['beg_points'] ); - $_POST['beg_points_max'] = str_replace(",", ".", $_POST['beg_points_max'] ); - $_POST['beg_notify_bonus'] = str_replace(",", ".", $_POST['beg_notify_bonus']); + $_POST['beg_points'] = REVERT_COMMA($_POST['beg_points'] ); + $_POST['beg_points_max'] = REVERT_COMMA($_POST['beg_points_max'] ); + $_POST['beg_notify_bonus'] = REVERT_COMMA($_POST['beg_notify_bonus']); // Save settings ADMIN_SAVE_SETTINGS($_POST);