-case "Y": // Active rallye is activated
- if (getConfig('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)";
- $MODE = "en";
- } else {
- // Do not notify!
- $sql = "";
- }
- break;
-
-case "N": // Active rallye is deactivated
- if (getConfig('bonus_di_notify') == "Y") {
- // Okay, let's check for member accounts
- $sql .= " > 0 AND bonus_ral_di_notify < bonus_ral_en_notify";
- $MODE = "di";
- } else {
- // Do not notify!
- $sql = "";
- }
- break;
+ case 'Y': // Active rallye is activated
+ if (getConfig('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`)';
+ $mode = 'en';
+ } else {
+ // Do not notify!
+ $sql = '';
+ }
+ break;
+
+ case 'N': // Active rallye is deactivated
+ if (getConfig('bonus_di_notify') == 'Y') {
+ // Okay, let's check for member accounts
+ $sql .= ' > 0 AND `bonus_ral_di_notify` < `bonus_ral_en_notify`';
+ $mode = 'di';
+ } else {
+ // Do not notify!
+ $sql = '';
+ }
+ break;