]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_bonus.php
Large code cleanups:
[mailer.git] / inc / monthly / monthly_bonus.php
index 1d4f8ad0d0d7fbee70cf08d6a5e9c1b885c29dec..2d56553e2f752e6ed437e34378bfdfb40afbb5f9 100644 (file)
@@ -85,8 +85,8 @@ LIMIT {?bonus_ranks?}', __FILE__, __LINE__);
                        // Make sure zero points are not mailed
                        if ($content['points'] > 0) {
                                // Add points to user's account directly
-                               initReferalSystem();
-                               addPointsThroughReferalSystem('monthly_bonus', $content['userid'], $content['points']);
+                               initReferralSystem();
+                               addPointsThroughReferralSystem('monthly_bonus', $content['userid'], $content['points']);
 
                                // Load email template and email it away
                                $message = loadEmailTemplate('member_bonus', $content, bigintval($content['userid']));