]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/beg_functions.php
Large code cleanups:
[mailer.git] / inc / libs / beg_functions.php
index f1f333ae439dba0c4904fcef52629b3c4dd45cbb..6c97bc34be6a020cf767b52582c7708ae79ccc2f 100644 (file)
@@ -55,8 +55,8 @@ function addPointsBeg ($userid, $points) {
                $added = (!SQL_HASZEROAFFECTED());
        } else {
                // Add points to account
                $added = (!SQL_HASZEROAFFECTED());
        } else {
                // Add points to account
-               initReferalSystem();
-               $added = addPointsThroughReferalSystem('beg', $userid, $points);
+               initReferralSystem();
+               $added = addPointsThroughReferralSystem('beg', $userid, $points);
        }
 
        // Subtract begged points from member account if the admin has selected one
        }
 
        // Subtract begged points from member account if the admin has selected one