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()) {
}
// Divide/multiply the factor
- if ($mode == "payout") {
+ if ($mode == 'payout') {
// Divide for payout
$points = $points / getConfig('wernis_payout_factor');
} else {