diff --git a/functions.inc.php b/functions.inc.php index eda3065e..f7dd2df3 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1067,7 +1067,7 @@ function _pacrypt_php_crypt($pw, $pw_db) { $salt = $pw_db; } else { $salt_method = 'SHA512'; // hopefully a reasonable default (better than MD5) - $difficulty = ''; + $hash_difficulty = ''; // no pw provided. create new password hash if (strpos($CONF['encrypt'], ':') !== false) { // use specified hash method