Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-config_secure.php
index d7156d0fc8f62da26093949cfa564b573a10a1cd..47623c479ef9f5158ec28df3ccabcc89edaa7fa1 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');