fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-config_secure.php
index 633226bd5dccaa307be76affd2860d6968ceb828..37abe1bd51cedbd9b4717e85c9fba66c4666f621 100644 (file)
@@ -46,12 +46,12 @@ 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 (!isPostRequestParameterSet(('salt_length')) || (postRequestParameter('salt_length') == '0')) {
                // Generate new passwords for all!
                loadInclude('inc/gen_sql_patches.php');
 
                // Forget the wrong number!
-               unsetPostRequestElement(('salt_length'));
+               unsetPostRequestParameter(('salt_length'));
 
                // Redirect to logout link
                redirectToUrl('modules.php?module=admin&logout=1');