X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fwernis_functions.php;h=5c76e50c24936abad4c286f5fbb3351f94f9cdf2;hp=61d12747ef551df73c0d7b7512896ebf4b7cef94;hb=a090e351c49fe021fb3064325694da03402332e0;hpb=f212df3d9d1d3c7f8632040130be9e7160980de6 diff --git a/inc/libs/wernis_functions.php b/inc/libs/wernis_functions.php index 61d12747ef..5c76e50c24 100644 --- a/inc/libs/wernis_functions.php +++ b/inc/libs/wernis_functions.php @@ -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 {