]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / libs / wernis_functions.php
index 61d12747ef551df73c0d7b7512896ebf4b7cef94..5c76e50c24936abad4c286f5fbb3351f94f9cdf2 100644 (file)
@@ -213,7 +213,7 @@ function WERNIS_TEST_API () {
 function WERNIS_EXECUTE_WITHDRAW ($wdsId, $userMd5, $amount) {
        // Is the sponsor extension installed?
        if (getConfig('wernis_withdraw_active') != "Y") {
-               if (!EXT_IS_ACTIVE("sponsor")) {
+               if (!EXT_IS_ACTIVE('sponsor')) {
                        // No, abort here
                        return false;
                } elseif (!IS_SPONSOR()) {
@@ -350,7 +350,7 @@ function WERNIS_TAKE_FEE ($points, $mode) {
        }
 
        // Divide/multiply the factor
-       if ($mode == "payout") {
+       if ($mode == 'payout') {
                // Divide for payout
                $points = $points / getConfig('wernis_payout_factor');
        } else {