From: Roland Häder Date: Mon, 30 Nov 2009 18:26:56 +0000 (+0000) Subject: debug_report_bug() was to strict here X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=inline;h=21e758aff3e67c462b02d40bb2d85184c1b4748a;hp=3fce27f277e3316c33a7e904ef499370c0c95dde;p=mailer.git debug_report_bug() was to strict here --- 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;