]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_removeip.php
Typos fixed, function IS_SQLS_INITIALIZED() added
[mailer.git] / inc / modules / admin / what-config_removeip.php
index 3340076b3298c18d2d429600968e9627fb237cb8..f0e0db829730d2117d0747bc31f0d600a8b2a444 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 configuration
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Prepare data
        switch (getConfig('removeip_anon_ip')) {