]> 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 0b9c2cf3a65b53eed7d9924ce25a8d1f0efddb47..599f4b7339526c75292ea35c18b7a3cfc4429dbe 100644 (file)
@@ -40,18 +40,18 @@ 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(
-               'refback_min_perc' => bigintval($_CONFIG['refback_min_perc']),
-               'refback_max_perc' => bigintval($_CONFIG['refback_max_perc'])
+               'refback_min_perc' => bigintval(getConfig('refback_min_perc')),
+               'refback_max_perc' => bigintval(getConfig('refback_max_perc'))
        );
 
        // Add more content
-       switch ($_CONFIG['refback_enabled']) {
+       switch (getConfig('refback_enabled')) {
                case "Y": // Refback enabled
                        $content['refback_enabled_y'] = " checked=\"checked\"";
                        $content['refback_enabled_n'] = "";