config.php partly solved, see #117
[mailer.git] / inc / modules / admin / what-list_rallyes.php
index 8f9e81d5fd3b3277160818b87d0ea30732b4d0f5..5d8c97163f4b550e24f8ad2251a63f53d87f9897 100644 (file)
@@ -57,7 +57,7 @@ if (REQUEST_ISSET_GET(('rallye'))) {
                // 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;
 
@@ -69,7 +69,7 @@ if (REQUEST_ISSET_GET(('rallye'))) {
                // 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;
 
@@ -81,7 +81,7 @@ if (REQUEST_ISSET_GET(('rallye'))) {
                // 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;