login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / libs / bonus_functions.php
index 888ecab50391bb7b4cb94539cc9a09aa68f29bc5..95ff13f09ce62375195c69c57e4ebeb1aaf16387 100644 (file)
@@ -43,7 +43,7 @@ function BONUS_ADD_TURBO_POINTS($mid, $uid, $type)
        global $CONFIG;
 
        // Shall we add bonus points?
-       if ($CONFIG['bonus_active'] == "N") return;
+       if ($CONFIG['bonus_active'] == 'N') return;
 
        // Select SQL command
        $SQL = "";
@@ -186,7 +186,7 @@ function BONUS_POINTS_HANDLER($MODE)
        global $CONFIG;
 
        // Shall we add bonus points?
-       if ($CONFIG['bonus_active'] == "N") return;
+       if ($CONFIG['bonus_active'] == 'N') return;
 
        // Switch to jackpot-mode when no UID is supplied but userid-mode is selected
        if (($CONFIG['bonus_mode'] == "UID") && ($CONFIG['bonus_uid'] == "0")) $CONFIG['bonus_mode'] = "JACKPOT";