aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2008-01-06 13:46:20 +0000
committerDavid M <davidmj@users.sourceforge.net>2008-01-06 13:46:20 +0000
commit2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8 (patch)
treecd1668ffa8bc1b5d947f69abcb651d884e941e9f /phpBB/includes/ucp
parent57645ad5bc2469e166cb3e5d54628d87ffa74c42 (diff)
downloadforums-2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8.tar
forums-2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8.tar.gz
forums-2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8.tar.bz2
forums-2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8.tar.xz
forums-2f08a3606203c1a2c7aad96e2eb65f6fa882d9a8.zip
- add DB2 support
/me takes a nap git-svn-id: file:///svn/phpbb/trunk@8308 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp')
-rw-r--r--phpBB/includes/ucp/ucp_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 0f3cc218c3..a223d5232e 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -110,7 +110,7 @@ class ucp_profile
'username' => ($auth->acl_get('u_chgname') && $config['allow_namechange']) ? $data['username'] : $user->data['username'],
'username_clean' => ($auth->acl_get('u_chgname') && $config['allow_namechange']) ? utf8_clean_string($data['username']) : $user->data['username_clean'],
'user_email' => ($auth->acl_get('u_chgemail')) ? $data['email'] : $user->data['user_email'],
- 'user_email_hash' => ($auth->acl_get('u_chgemail')) ? crc32($data['email']) . strlen($data['email']) : $user->data['user_email_hash'],
+ 'user_email_hash' => ($auth->acl_get('u_chgemail')) ? hexdec(crc32($data['email']) . strlen($data['email'])) : $user->data['user_email_hash'],
'user_password' => ($auth->acl_get('u_chgpasswd') && $data['new_password']) ? phpbb_hash($data['new_password']) : $user->data['user_password'],
'user_passchg' => ($auth->acl_get('u_chgpasswd') && $data['new_password']) ? time() : 0,
);