// 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']));