]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_refback.php
Fixes for stripped HTML tags, and false warnings in debug log
[mailer.git] / inc / modules / admin / what-config_refback.php
index 3939a8c38973c5da252ee26e02395ec6bcd6c642..599f4b7339526c75292ea35c18b7a3cfc4429dbe 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 content
        $content = array(