]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
Extension ext-network continued (sorry guys for all these splitted commits):
[mailer.git] / inc / modules / admin / what-config_secure.php
index 5f0941fbe9c52894c283a7533e92652c488c7845..7093bde856d264fa2c86c3ddbd0d9219ebdb8f3f 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -45,12 +45,12 @@ addYouAreHereLink('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 (!isPostRequestElementSet('salt_length') || (postRequestElement('salt_length') == '0')) {
                // Generate new passwords for all!
                loadInclude('inc/gen_sql_patches.php');
 
                // Forget the wrong number!
-               unsetPostRequestParameter('salt_length');
+               unsetPostRequestElement('salt_length');
 
                // Redirect to logout link
                redirectToUrl('modules.php?module=admin&logout=1');