Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / modules / admin / what-list_bonus.php
index 4a0e5d28a05f77fd356660cfdca44e5c823ba659..721ee92dd8763c8c5f53e25f11f8e59ea30068cd 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