]> git.mxchange.org Git - mailer.git/blobdiff - inc/doubler_send.php
Surfbar member actions now listable
[mailer.git] / inc / doubler_send.php
index a148c206f0c757be65c6b25842a574d8184b50f9..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;
                        }
 
@@ -141,7 +141,7 @@ if (((SQL_NUMROWS($result_total) > 0) && ($_CONFIG['doubler_sent_all'] == "Y"))
                        // Update doubler's account only when others are not updated
                        if (!$OK) {
                                // Add points to used doubler points
-                               UPDATE_CONFIG("douber_used", $points, "+");
+                               UPDATE_CONFIG("doubler_used", $points, "+");
                        }
 
                        // Update variables to prevent errors