]> git.mxchange.org Git - mailer.git/blobdiff - inc/doubler_send.php
Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git] / inc / doubler_send.php
index f3084e22a554fd93707a8710fc24c15cced91e69..e7e6210776359d659f40c33f2a6cde2fb05c9aab 100644 (file)
@@ -95,14 +95,14 @@ if (((SQL_NUMROWS($result_total) > 0) && ($_CONFIG['doubler_sent_all'] == "Y"))
                        if (empty($ref)) $ref = 0;
                        if (($ref > 0) && ($DOUBLER_UID == $uid) && (!empty($ref)))
                        {
-                               // Referral points found so add them and set line(s) to completed='Y'
+                               // Referal points found so add them and set line(s) to completed='Y'
                                $points += $ref;
                                $result_ref = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_doubler SET completed='Y' WHERE refid=%s AND completed='N' AND is_ref='Y'",
                                 array(bigintval($uid)), __FILE__, __LINE__);
                        }
                         else
                        {
-                               // No referral points found
+                               // No referal points found
                                $ref = 0;
                        }