// Activate / deactivate
switch (REQUEST_GET('activate'))
{
- case "1": // Activate
+ case '1': // Activate
ADD_SQL("UPDATE `{!_MYSQL_PREFIX!}_rallye_data` SET is_active='Y' WHERE `id`=%s AND is_active='N' LIMIT 1");
break;
// Automatic notification
switch (REQUEST_GET('notify'))
{
- case "1": // Activate
+ case '1': // Activate
ADD_SQL("UPDATE `{!_MYSQL_PREFIX!}_rallye_data` SET send_notify='Y' WHERE `id`=%s AND send_notify='N' LIMIT 1");
break;
// Automatic adding of new members
switch (REQUEST_GET('auto'))
{
- case "1": // Activate
+ case '1': // Activate
ADD_SQL("UPDATE `{!_MYSQL_PREFIX!}_rallye_data` SET auto_add_new_user='Y' WHERE `id`=%s AND auto_add_new_user='N' LIMIT 1");
break;