]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
More HTML code swapped into templates (#68 again)
[mailer.git] / inc / modules / admin / what-config_secure.php
index f1406788423d863336fd61bdb7e7cfc6afaf9602..d7156d0fc8f62da26093949cfa564b573a10a1cd 100644 (file)
@@ -46,7 +46,7 @@ addMenuDescription('admin', __FILE__);
 
 if (isFormSent()) {
        // If salt length is empty or null then we shall generate new passwords
-       if (!isPostRequestElementSet(('salt_length')) || (postRequestElement('salt_length') == '0')) {
+       if (!isPostRequestElementSet(('salt_length')) || (postRequestElement('salt_length') == 0)) {
                // Generate new passwords for all!
                loadInclude('inc/gen_sql_patches.php');
 
@@ -54,7 +54,7 @@ if (isFormSent()) {
                unsetPostRequestElement(('salt_length'));
 
                // Redirect to logout link
-               redirectToUrl('modules.php?module=admin&logout=1');
+               redirectToUrl('modules.php?module=admin&logout=1');
        } // END - if
 
        // Save settings