]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/beg_functions.php
Some more fixes
[mailer.git] / inc / libs / beg_functions.php
index 583ec4c8a817bbd5cf9b7055d2ca93d39f9c8729..adfd3f549236fcf897dc433dea8b0a1991b2ba05 100644 (file)
@@ -38,12 +38,12 @@ if (!defined('__SECURITY')) {
 }
 
 // Add points to user or begging rallye account
-function BEG_ADD_POINTS($uid, $points) {
+function BEG_ADD_POINTS ($uid, $points) {
        global $_CONFIG;
 
        // Set mode depending on how many mails the member has to confirm
        $locked = false;
-       if (($ref_payout > 0) && ($_CONFIG['allow_direct_pay'] == "N")) $locked = true;
+       if (($_CONFIG['ref_payout'] > 0) && ($_CONFIG['allow_direct_pay'] == "N")) $locked = true;
 
        // Is begging rallye active?
        if ($_CONFIG['beg_rallye'] == "Y") {