X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_secure.php;h=26045cdc1613a4f4a6524d3844747a6d0370f76b;hp=633226bd5dccaa307be76affd2860d6968ceb828;hb=a226d81121cb96048b1ed85fd8584a87d435b0db;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60 diff --git a/inc/modules/admin/what-config_secure.php b/inc/modules/admin/what-config_secure.php index 633226bd5d..26045cdc16 100644 --- a/inc/modules/admin/what-config_secure.php +++ b/inc/modules/admin/what-config_secure.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,12 +47,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');