diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-05-29 17:01:07 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-05-29 17:01:07 +0000 |
commit | 7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472 (patch) | |
tree | 4af61e6d88c25e20f731f1f1c696331c14a46b54 /phpBB/install | |
parent | 91bd630ba0f59cf03d4afa0c7603c001641e6a72 (diff) | |
download | forums-7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472.tar forums-7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472.tar.gz forums-7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472.tar.bz2 forums-7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472.tar.xz forums-7aeb6a4c4ad8eb11623bfeaa37b6ba2f51aee472.zip |
#11417
git-svn-id: file:///svn/phpbb/trunk@7698 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index 4346c6f4d1..5db255f7f5 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -581,10 +581,11 @@ function phpbb_convert_authentication($mode) } // Grab user auth information from 2.0.x board $sql = "SELECT ug.user_id, aa.* - FROM {$convert->src_table_prefix}auth_access aa, {$convert->src_table_prefix}user_group ug, {$convert->src_table_prefix}groups g + FROM {$convert->src_table_prefix}auth_access aa, {$convert->src_table_prefix}user_group ug, {$convert->src_table_prefix}groups g, {$convert->src_table_prefix}forums f WHERE g.group_id = aa.group_id AND g.group_single_user = 1 - AND ug.group_id = g.group_id"; + AND ug.group_id = g.group_id + AND f.forum_id = aa.forum_id"; $result = $src_db->sql_query($sql); $user_access = array(); |