]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/doubler_mails.php
Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / mails / doubler_mails.php
index 038086d56697f6ac33a21452650890435336e7bd..7fa1ae34a1a4aecc22c955ab843c85e8796b22d7 100644 (file)
@@ -142,7 +142,7 @@ if (((!SQL_HASZERONUMS($result_total)) && (getConfig('doubler_sent_all') == 'Y')
                        // Exclude webmaster from doubling...
                        if ($content['userid'] != getConfig('doubler_userid')) {
                                // Add points
-                               addPointsDirectly(sprintf("doubler_%s", strtolower(getConfig('doubler_send_mode'))), $content['userid'], $content['points']);
+                               addPointsThroughReferalSystem(sprintf("doubler_%s", strtolower(getConfig('doubler_send_mode'))), $content['userid'], $content['points']);
                        } // END - if
 
                        // Set entry as "payed"