]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_user.php
Fix for 'Other Settings' which won't save
[mailer.git] / inc / modules / admin / what-config_user.php
index 986674d620155a3290a15cdc3d76da0d7f104887..dd108a8f462fe04a367139ce9c732f380fdb6e90 100644 (file)
@@ -43,13 +43,13 @@ ADD_DESCR("admin", basename(__FILE__));
 if (isset($_POST['ok']))
 {
        // Save settings
-       ADMIN_SAVE_SETTINGS($_POST, "_config", "config='0'");
+       ADMIN_SAVE_SETTINGS($_POST);
 }
  else
 {
        // Prepare constants for the template
-       define('__LIMIT_VALUE', $CONFIG['user_limit']);
-       define('__ALPHA_VALUE', $CONFIG['user_alpha']);
+       define('__LIMIT_VALUE', $_CONFIG['user_limit']);
+       define('__ALPHA_VALUE', $_CONFIG['user_alpha']);
 
        // Load form template
        LOAD_TEMPLATE("admin_config_user");