1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

- Find and display colliding usernames correctly when converting from one database to another (Bug #23925)

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8489 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2008-04-03 14:04:10 +00:00
parent d85b3ae528
commit 261b310b0d
2 changed files with 3 additions and 2 deletions

View File

@@ -1856,7 +1856,7 @@ function phpbb_check_username_collisions()
$result = $src_db->sql_query($sql);
$colliding_users = array();
while ($row = $db->sql_fetchrow($result))
while ($row = $src_db->sql_fetchrow($result))
{
$row['user_id'] = (int) $row['user_id'];
if (isset($colliding_user_ids[$row['user_id']]))
@@ -1864,7 +1864,7 @@ function phpbb_check_username_collisions()
$colliding_users[$colliding_user_ids[$row['user_id']]][] = $row;
}
}
$db->sql_freeresult($result);
$src_db->sql_freeresult($result);
unset($colliding_user_ids);
$list = '';