-$sql = "SELECT userid, email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE (beg_ral_notify ";
-switch (getConfig('beg_rallye'))
-{
-case "Y": // Begging rallye is activated
- if (getConfig('beg_ral_en_notify') == "Y")
- {
- // Okay, let's check for member accounts
- $sql .= "= 0 OR (beg_ral_notify > 0 AND beg_ral_en_notify < beg_ral_di_notify)";
- $MODE = "en";
- }
- else
- {
- // Do not notify!
- $sql = "";
- }
- break;
-
-case "N": // Begging rallye is deactivated
- if (getConfig('beg_ral_di_notify') == "Y")
- {
- // Okay, let's check for member accounts
- $sql .= " > 0 AND beg_ral_di_notify < beg_ral_en_notify";
- $MODE = "di";
- }
- else
- {
- // Do not notify!
- $sql = "";
- }
- break;
-}
+$sql = "SELECT `userid`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`beg_ral_notify` ";
+switch (getConfig('beg_rallye')) {
+ case 'Y': // Begging rallye is activated
+ if (getConfig('beg_ral_en_notify') == 'Y') {
+ // Okay, let's check for member accounts
+ $sql .= '= 0 OR (`beg_ral_notify` > 0 AND `beg_ral_en_notify` < `beg_ral_di_notify`)';
+ $mode = 'en';
+ } else {
+ // Do not notify!
+ $sql = '';
+ }
+ break;
+
+ case 'N': // Begging rallye is deactivated
+ if (getConfig('beg_ral_di_notify') == 'Y') {
+ // Okay, let's check for member accounts
+ $sql .= ' > 0 AND `beg_ral_di_notify` < `beg_ral_en_notify`';
+ $mode = 'di';
+ } else {
+ // Do not notify!
+ $sql = '';
+ }
+ break;
+} // END - switch