From 21e758aff3e67c462b02d40bb2d85184c1b4748a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 30 Nov 2009 18:26:56 +0000 Subject: [PATCH] debug_report_bug() was to strict here --- inc/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 921cda0aea..e3d3f20f8c 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2227,8 +2227,8 @@ function generatePassString ($passHash) { if ((isExtensionInstalled('sql_patches')) && (isConfigEntrySet('_PRIME')) && (isConfigEntrySet('secret_key')) && (isConfigEntrySet('master_salt'))) { // Only calculate when the secret key is generated if (strlen($passHash) != getConfig('secret_key')) { - // Both keys must have same length - debug_report_bug('Hash lengths do not match! (' . strlen($passHash) . '!=' . strlen(getConfig('secret_key')) . ')'); + // Both keys must have same length so return unencrypted + return $ret; } // END - if $newHash = ''; $start = 9; -- 2.39.2