login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / member / what-bonus.php
index 57b238cb1af2a04794ea2d0b4e53b7d44eec5e83..e967ae56fce39b95e8a56e30f2a27a2080997894 100644 (file)
@@ -55,11 +55,11 @@ if (GET_EXT_VERSION("bonus") >= "0.6.9")
 {
        // 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