X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_autopurge.php;h=956d5bf402653f524af19b0749b9d6793b712d38;hb=45465772fed386cbfa0c1df9677cbd9134ac5819;hp=cea9d4cb8155c152ae31537b64b565c5f03301f5;hpb=0f22badfd5054b8c0c1cef83424bfd1bd415d507;p=mailer.git diff --git a/inc/modules/admin/what-config_autopurge.php b/inc/modules/admin/what-config_autopurge.php index cea9d4cb81..956d5bf402 100644 --- a/inc/modules/admin/what-config_autopurge.php +++ b/inc/modules/admin/what-config_autopurge.php @@ -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"));