]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/rallye_functions.php
Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / libs / rallye_functions.php
index 4496e31e2511ac83154428f0794c3afbaf4d785e..e67677e419cd6082706fbbc28e779f21cbe559a2 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";
        }