]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
Functions imported, some dev-scripts added
[mailer.git] / inc / libs / wernis_functions.php
index 89adec715d09d743c95ba49ba2e06bb75876a27f..0cb27530e046cbb8c623a0283a358daf1c706524 100644 (file)
@@ -234,7 +234,7 @@ function WERNIS_EXECUTE_WITHDRAW ($wdsId, $userMd5, $amount) {
                't_md5'                 => $userMd5,
                'r_uid'                 => getConfig('wernis_refid'),
                'amount'                => bigintval($amount),
-               'purpose'               => urlencode(base64_encode($purpose))
+               'purpose'               => encodeString($purpose, false)
        );
 
        // Return the result from the lower functions
@@ -275,7 +275,7 @@ function WERNIS_EXECUTE_PAYOUT ($wdsId, $amount) {
                't_md5'                 => getConfig('wernis_pass_md5'),
                'r_uid'                 => bigintval($wdsId),
                'amount'                => bigintval($amount),
-               'purpose'               => urlencode(base64_encode($purpose))
+               'purpose'               => encodeString($purpose, false)
        );
 
        // Return the result from the lower functions