]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_autopurge.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / modules / admin / what-config_autopurge.php
index cea9d4cb8155c152ae31537b64b565c5f03301f5..956d5bf402653f524af19b0749b9d6793b712d38 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()) {
        // Data was submitted so we store it
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Output de-/activation selections
        define('__AP_INACTIVE_SELECTION'   , ADD_SELECTION("yn", getConfig('autopurge_inactive')   , "autopurge_inactive"));