aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_users.php
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/acp/acp_users.php
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/acp/acp_users.php')
-rw-r--r--phpBB/includes/acp/acp_users.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php
index f87e175301..13612cf363 100644
--- a/phpBB/includes/acp/acp_users.php
+++ b/phpBB/includes/acp/acp_users.php
@@ -775,7 +775,7 @@ class acp_users
{
$sql_ary += array(
'user_email' => $update_email,
- 'user_email_hash' => crc32($update_email) . strlen($update_email)
+ 'user_email_hash' => hexdec(crc32($update_email) . strlen($update_email))
);
add_log('user', $user_id, 'LOG_USER_UPDATE_EMAIL', $user_row['username'], $user_row['user_email'], $update_email);
@@ -1130,6 +1130,7 @@ class acp_users
case 'oracle':
case 'firebird':
case 'postgres':
+ case 'db2':
$right_delim = $left_delim = '"';
break;