]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/bonus_mails.php
Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / mails / bonus_mails.php
index 673681010457c5346a55a77e919f7f517974bab5..198419d4d8dcbc3d2219b0bfbfaf47dbf905e901 100644 (file)
@@ -55,7 +55,7 @@ $SQL = "SELECT userid, email FROM "._MYSQL_PREFIX."_user_data WHERE (bonus_ral_n
 switch ($_CONFIG['bonus_active'])
 {
 case 'Y': // Active rallye is activated
-       if ($_CONFIG['bonus_en_notify'] == 'Y')
+       if ($_CONFIG['bonus_en_notify'] == "Y")
        {
                // Okay, let's check for member accounts
                $SQL .= "= 0 OR (bonus_ral_notify > 0 AND bonus_ral_en_notify < bonus_ral_di_notify)";
@@ -69,7 +69,7 @@ case 'Y': // Active rallye is activated
        break;
 
 case 'N': // Active rallye is deactivated
-       if ($_CONFIG['bonus_di_notify'] == 'Y')
+       if ($_CONFIG['bonus_di_notify'] == "Y")
        {
                // Okay, let's check for member accounts
                $SQL .= " > 0 AND bonus_ral_di_notify < bonus_ral_en_notify";