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:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user