]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / libs / rallye_functions.php
index e55876b3eeed4e3fb0b07b07160492c9616509ca..53eee415d76158ccb6c13436c51b900330cf7cb8 100644 (file)
@@ -127,7 +127,7 @@ VALUES ('%s', '%s', '%s', '%s')",
                $DATA['refs']  = $cnt;
 
                // Shall I notify this member?
-               if (($notify == "Y") && ($un))
+               if (($notify == 'Y') && ($un))
                {
                        // Load email template and send it to the user
                        $msg = LOAD_EMAIL_TEMPLATE("member_rallye_notify", $prices, $uid);
@@ -137,7 +137,7 @@ VALUES ('%s', '%s', '%s', '%s')",
 
        // Send email to admin
        $templ = "admin_rallye_no_notify";
-       if ($notify == "Y") $templ = "admin_rallye_notify";
+       if ($notify == 'Y') $templ = "admin_rallye_notify";
        if (GET_EXT_VERSION("admins") < "0.4.1")
        {
                // Use old method to send out
@@ -316,7 +316,7 @@ VALUES ('%s', '%s', '0')",
                        SQL_FREERESULT($result);
                }
 
-               if ($notify == "Y")
+               if ($notify == 'Y')
                {
                        // Transfer all neccessary data to the global $DATA array
                        $DATA['start'] = MAKE_DATETIME($start, "2");
@@ -417,7 +417,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__);
                                }
                        }
 
-                       if ($notify == "Y")
+                       if ($notify == 'Y')
                        {
                                // Prepare infos for the mail template
                                if (!empty($DATA['info']))
@@ -462,7 +462,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__);
        }
 
        // Select template depending on notfication is switch on / off
-       if ($notify == "Y")
+       if ($notify == 'Y')
        {
                $templ = "admin_rallye_expired";
        }