]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_secure.php
Fix for missing variable, thanks to wernisman
[mailer.git] / inc / modules / admin / what-config_secure.php
index d7156d0fc8f62da26093949cfa564b573a10a1cd..633226bd5dccaa307be76affd2860d6968ceb828 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 10/11/2003 *
- * ===============                              Last change: 12/21/2004 *
+ * Mailer v0.2.1-FINAL                                Start: 10/11/2003 *
+ * ===================                          Last change: 12/21/2004 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-config_secure.php                           *
@@ -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');