Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / inc / modules / admin / what-config_active.php
index efb00e6321ce57e4f685afd21560019763274750..37242ae4a3677b17c42cd32437ccebc6f0bb67c2 100644 (file)
@@ -40,9 +40,9 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // Save data
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Minimum mails / active
        define('__LIMIT_VALUE', getConfig('active_limit'));