X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_points.php;h=10f003dcda6ab45110d6141a38d7f692f84abf19;hb=927b013dd62bdd14f9da1960bdaaccfaad386009;hp=8307ed99a081e2d0f9d72bcc1bc36d7f740787ff;hpb=d52c45a4414902f576f3544198dc15ba14a7181c;p=mailer.git diff --git a/inc/modules/admin/what-config_points.php b/inc/modules/admin/what-config_points.php index 8307ed99a0..10f003dcda 100644 --- a/inc/modules/admin/what-config_points.php +++ b/inc/modules/admin/what-config_points.php @@ -82,6 +82,9 @@ if (isset($_POST['ok'])) { // Secure ID $id = bigintval($id); + // Revert german commata + $_POST['perc'][$id] = REVERT_COMMA($_POST['perc'][$id]); + // Update entry $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_refdepths SET level='%s', percents='%s' WHERE id=%s LIMIT 1", array(bigintval($value), $_POST['perc'][$id], $id), __FILE__, __LINE__); @@ -211,7 +214,7 @@ WHERE mails_confirmed < %s", $REF, $REF); 'sw' => $SW, 'id' => $id, 'lvl' => $lvl, - 'per' => $perc, + 'per' => TRANSLATE_COMMA($perc), ); // Load row template and switch color @@ -239,7 +242,7 @@ WHERE mails_confirmed < %s", $REF, $REF); 'sw' => $SW, 'id' => $id, 'lvl' => $lvl, - 'per' => $perc, + 'per' => TRANSLATE_COMMA($perc), ); // Load row template and switch color @@ -268,7 +271,7 @@ WHERE mails_confirmed < %s", $REF, $REF); 'sw' => $SW, 'id' => $id, 'lvl' => $lvl, - 'per' => $perc, + 'per' => TRANSLATE_COMMA($perc), ); // Load row template and switch color