X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_payouts.php;h=9859235a083c16f95f64c15a7a0784bf93a05eac;hp=58e04477de046797243f46724d9cc586ef937442;hb=b3f82be7e5ecc294acfe9c00ef75e3dc0c8b43d1;hpb=1c84af63a717e3fb454a790b8391d84a4727952d diff --git a/inc/modules/admin/what-config_payouts.php b/inc/modules/admin/what-config_payouts.php index 58e04477de..9859235a08 100644 --- a/inc/modules/admin/what-config_payouts.php +++ b/inc/modules/admin/what-config_payouts.php @@ -40,7 +40,7 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { // Add description as navigation point ADD_DESCR("admin", basename(__FILE__)); -if (!empty($_POST['rate'])) $_POST['rate'] = str_replace(",", ".", $_POST['rate']); +if (!empty($_POST['rate'])) $_POST['rate'] = REVERT_COMMA($_POST['rate']); if ((isset($_POST['add'])) && (!empty($_POST['title'])) && ($_POST['rate'] > 0)) { @@ -104,8 +104,8 @@ allow_url='%s' WHERE id='".$id."' LIMIT 1", array( $_POST['title'][$id], - bigintval(str_replace(",", ".", $_POST['rate'][$id])), - bigintval(str_replace(",", ".", $_POST['mpoi'][$id])), + bigintval(REVERT_COMMA($_POST['rate'][$id])), + bigintval(REVERT_COMMA($_POST['mpoi'][$id])), $_POST['allow'][$id], ),__FILE__, __LINE__); }