From c1b5e66e272a9dcb202c3719b5677304061c158e Mon Sep 17 00:00:00 2001 From: Aleksi Kinnunen <721951+Sopsy@users.noreply.github.com> Date: Tue, 29 May 2018 01:34:46 +0200 Subject: [PATCH] Add missing global ... you should never edit with the GitHub web GUI, lazy me. --- functions.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.inc.php b/functions.inc.php index ab345b57..781f2fb5 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1086,6 +1086,8 @@ function _pacrypt_php_crypt($pw, $pw_db) { * @return string */ function _php_crypt_generate_crypt_salt($hash_type='SHA512') { + global $CONF; + // generate a salt (with magic matching chosen hash algorithm) for the PHP crypt() function // most commonly used alphabet