]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_wernis.php
Now with more feedback if no payout types are found
[mailer.git] / inc / modules / admin / what-config_wernis.php
index 51f3f158006be7c720109620d365db4cc2b6f772..dbfd24dbbd590bfdaedabe894523e0536982c3b4 100644 (file)
@@ -52,7 +52,7 @@ if (isFormSent()) {
        if (WERNIS_TEST_API()) {
                // Revert german commata
                foreach (array('payout_factor', 'withdraw_factor', 'payout_fee_percent', 'withdraw_fee_percent') as $revert) {
-                       setRequestPostElement('wernis_'.$revert, convertCommaToDot(postRequestElement('wernis_'.$revert)));
+                       setRequestPostElement('wernis_' . $revert, postRequestElement('wernis_' . $revert));
                } // END - if
 
                // Hash the password and remove clear-text
@@ -68,10 +68,6 @@ if (isFormSent()) {
 }  else {
        // Prepare data for template output
        $content = array(
-               'payout_factor'            => translateComma(getConfig('wernis_payout_factor')),
-               'withdraw_factor'          => translateComma(getConfig('wernis_withdraw_factor')),
-               'payout_fee_percent'       => translateComma(getConfig('wernis_payout_fee_percent')),
-               'withdraw_fee_percent'     => translateComma(getConfig('wernis_withdraw_fee_percent')),
                'wernis_payout_active_y'   => '',
                'wernis_payout_active_n'   => '',
                'wernis_withdraw_active_y' => '',