]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_payouts.php
Wrapper functions for converting commas in configuration added, ext-coupon continued
[mailer.git] / inc / modules / admin / what-config_payouts.php
index d3b77e7d5cea05f4c4c6c6ac85034460e33f8c6e..8a5e102d6c616808f6d049b983a31902ffb8ae44 100644 (file)
@@ -43,7 +43,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isPostRequestParameterSet('rate')) setPostRequestParameter('rate', convertCommaToDot(postRequestParameter('rate')));
+// Convert 'rate' if set
+if (isPostRequestParameterSet('rate')) {
+       convertCommaToDotInPostData('rate');
+} // END - if
 
 if ((isFormSent('add')) && (isPostRequestParameterSet('title')) && (postRequestParameter('rate') > 0)) {
        // Add new payout type