login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / admin / what-list_bonus.php
index 0f597a78e5b7c748df9892c105fd2955b7db814e..a4c6c97535089a04d9bb87a7066c6be5f2bbadd0 100644 (file)
@@ -40,7 +40,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!is_admin()))
 // Add description as navigation point
 ADD_DESCR("admin", basename(__FILE__));
 
-if ($CONFIG['bonus_active'] == "Y")
+if ($CONFIG['bonus_active'] == 'Y')
 {
        // Shall I withdraw now?
        if (isset($_POST['withdraw']))
@@ -58,11 +58,11 @@ if ($CONFIG['bonus_active'] == "Y")
        {
                // Add more bonus points here
                $USE = "(0";
-               if ($CONFIG['bonus_click_yn'] == "Y") $USE .= " + turbo_bonus";
-               if ($CONFIG['bonus_login_yn'] == "Y") $USE .= " + login_bonus";
-               if ($CONFIG['bonus_order_yn'] == "Y") $USE .= " + bonus_order";
-               if ($CONFIG['bonus_stats_yn'] == "Y") $USE .= " + bonus_stats";
-               if ($CONFIG['bonus_ref_yn']   == "Y") $USE .= " + bonus_ref";
+               if ($CONFIG['bonus_click_yn'] == 'Y') $USE .= " + turbo_bonus";
+               if ($CONFIG['bonus_login_yn'] == 'Y') $USE .= " + login_bonus";
+               if ($CONFIG['bonus_order_yn'] == 'Y') $USE .= " + bonus_order";
+               if ($CONFIG['bonus_stats_yn'] == 'Y') $USE .= " + bonus_stats";
+               if ($CONFIG['bonus_ref_yn']   == 'Y') $USE .= " + bonus_ref";
                $USE .= ")";
        }
         else