]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
Some more wrappers added, code cleanups:
[mailer.git] / inc / modules / admin / what-config_secure.php
index 3cd889890c443bd92d1a9451d60eeee6a940d73a..26045cdc1613a4f4a6524d3844747a6d0370f76b 100644 (file)
@@ -47,12 +47,12 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // If salt length is empty or null then we shall generate new passwords
-       if (!isPostRequestParameterSet(('salt_length')) || (postRequestParameter('salt_length') == '0')) {
+       if (!isPostRequestParameterSet('salt_length') || (postRequestParameter('salt_length') == '0')) {
                // Generate new passwords for all!
                loadInclude('inc/gen_sql_patches.php');
 
                // Forget the wrong number!
-               unsetPostRequestParameter(('salt_length'));
+               unsetPostRequestParameter('salt_length');
 
                // Redirect to logout link
                redirectToUrl('modules.php?module=admin&logout=1');