From: Roland Häder Date: Fri, 30 Oct 2009 09:40:56 +0000 (+0000) Subject: Fix for _PRIME and typo X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=24ef7d15f6d464e570781cfff1bebe852260835a Fix for _PRIME and typo --- diff --git a/inc/config-functions.php b/inc/config-functions.php index 4d873332c9..fd29373344 100644 --- a/inc/config-functions.php +++ b/inc/config-functions.php @@ -127,7 +127,7 @@ function getConfigArray () { $return = array(); // Is the config set? - if (isset($GLOABLS['config'])) { + if (isset($GLOBALS['config'])) { // Then use it $return = $GLOBALS['config']; } // END - if diff --git a/inc/functions.php b/inc/functions.php index d5f4555921..b3b990a342 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -2168,7 +2168,7 @@ function generatePassString ($passHash) { $ret = $passHash; // Is a secret key and master salt already initialized? - if ((isExtensionInstalled('sql_patches')) && (isConfigEntrySet('secret_key')) && (isConfigEntrySet('master_salt'))) { + if ((isExtensionInstalled('sql_patches')) && (isConfigEntrySet('_PRIME')) && (isConfigEntrySet('secret_key')) && (isConfigEntrySet('master_salt'))) { // Only calculate when the secret key is generated $newHash = ''; $start = 9; for ($idx = 0; $idx < 10; $idx++) {