]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / mailid_top.php
index a4d1b72377bdf2be68c728981264a9887e5c9a67..efeb5ecba5f65ce2197732a26c61ef3eae6cac86 100644 (file)
@@ -102,7 +102,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                list($pool, $sender, $notify) = SQL_FETCHROW($result_mailid);
 
                                // Correct notification switch in non-bonus mails
-                               if (($notify != "Y") && ($notify != "N")) $notify = "N";
+                               if (($notify != 'Y') && ($notify != 'N')) $notify = 'N';
 
                                // Free some memory
                                SQL_FREERESULT($result_mailid);
@@ -214,7 +214,7 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                                                        if (bigintval($_POST['gfx_check']) == $img_code)
                                                                        {
                                                                                // Right code entered add points and remove entry
-                                                                               if (($ref_pay > 0) && ($CONFIG['allow_direct_pay'] == "N"))
+                                                                               if (($ref_pay > 0) && ($CONFIG['allow_direct_pay'] == 'N'))
                                                                                {
                                                                                        // Don't add points over the referral system
                                                                                        $locked = true;
@@ -238,10 +238,10 @@ if (defined('mxchange_installed') && (mxchange_installed))
                                                                                if ((GET_EXT_VERSION("bonus") >= "0.2.2") && (function_exists('BONUS_ADD_TURBO_POINTS')))
                                                                                {
                                                                                        // Is an active-rallye running and this is not a notification mail?
-                                                                                       if (($CONFIG['bonus_active'] == "Y") && ($notify == "N"))
+                                                                                       if (($CONFIG['bonus_active'] == 'Y') && ($notify == 'N'))
                                                                                        {
                                                                                                // Shall I exclude the webmaster's own userid from the active-rallye?
-                                                                                               if (((($CONFIG['bonus_uid'] == $url_uid) && ($CONFIG['bonus_include_own'] == "Y")) || ($CONFIG['bonus_uid'] != $url_uid)) && ($CONFIG['def_refid'] != $url_uid))
+                                                                                               if (((($CONFIG['bonus_uid'] == $url_uid) && ($CONFIG['bonus_include_own'] == 'Y')) || ($CONFIG['bonus_uid'] != $url_uid)) && ($CONFIG['def_refid'] != $url_uid))
                                                                                                {
                                                                                                        // Add points and remember ranking are done in this function....
                                                                                                        BONUS_ADD_TURBO_POINTS($DATA, $url_uid, $TYPE);