diff options
author | Andreas Fischer <bantu@phpbb.com> | 2010-02-18 01:17:30 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2010-02-18 01:17:30 +0000 |
commit | 30b83896a1718400307de7d531c16a152c0f6668 (patch) | |
tree | 94adbae30ae2636a0f8ee2f7581c6225e79725dc /phpBB/includes/functions.php | |
parent | 68cac354aac9df3866944685186733c4d7305aee (diff) | |
download | forums-30b83896a1718400307de7d531c16a152c0f6668.tar forums-30b83896a1718400307de7d531c16a152c0f6668.tar.gz forums-30b83896a1718400307de7d531c16a152c0f6668.tar.bz2 forums-30b83896a1718400307de7d531c16a152c0f6668.tar.xz forums-30b83896a1718400307de7d531c16a152c0f6668.zip |
Fix Bug #57755 - Make user_email_hash() function independent from system's architecture.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10499 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 23221c69ea..913b1c0fa0 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -556,11 +556,11 @@ function _hash_crypt_private($password, $setting, &$itoa64) * * @param string $email Email address * -* @return string Big Integer +* @return string Unsigned Big Integer */ function phpbb_email_hash($email) { - return crc32(strtolower($email)) . strlen($email); + return sprintf('%u', crc32(strtolower($email))) . strlen($email); } /** |