switch ($_CONFIG['bonus_active'])
{
case 'Y': // Active rallye is activated
- if ($_CONFIG['bonus_en_notify'] == 'Y')
+ if ($_CONFIG['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)";
break;
case 'N': // Active rallye is deactivated
- if ($_CONFIG['bonus_di_notify'] == 'Y')
+ if ($_CONFIG['bonus_di_notify'] == "Y")
{
// Okay, let's check for member accounts
$SQL .= " > 0 AND bonus_ral_di_notify < bonus_ral_en_notify";