query masking rewritten in more SQLs, several cleanups and fix on beg link
[mailer.git] / inc / modules / admin / what-config_extensions.php
index 2504ad8..e941a3b 100644 (file)
@@ -43,15 +43,15 @@ ADD_DESCR("admin", basename(__FILE__));
 if (isset($_POST['ok']))
 {
        // Save configuration
-       ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'");
+       ADMIN_SAVE_SETTINGS($_POST);
 }
  else
 {
        // Prepare data
        switch ($CONFIG['verbose_sql'])
        {
-               case "Y": define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
-               case "N": define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
+               case 'Y': define('__VERBOSE_Y', " checked"); define('__VERBOSE_N', "");         break;
+               case 'N': define('__VERBOSE_Y', "");         define('__VERBOSE_N', " checked"); break;
        }
 
        // Load template