]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_user.php
A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / modules / admin / what-config_user.php
index 62df2811ffea7e3f15dc633e831f8b972e3e6b7b..914c9c22ef86a51e5761149e6c4e0ea9c817f614 100644 (file)
@@ -39,9 +39,9 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 // Add description as navigation point
 ADD_DESCR("admin", __FILE__);
 
-if (isset($_POST['ok'])) {
+if (IS_FORM_SENT()) {
        // Save settings
-       ADMIN_SAVE_SETTINGS($_POST);
+       ADMIN_SAVE_SETTINGS_POST();
 } else {
        // Prepare constants for the template
        define('__LIMIT_VALUE', getConfig('user_limit'));