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 | |
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
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 2 | ||||
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 5895920525..3646b82a0b 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -230,6 +230,8 @@ p a { <li>[Feature] The converter no longer relies on the smiley ID to decide if it should be displayed on the posting page</li> <li>Limit maximum number of allowed characters in messages to 60.000 by default. Admins should increase their PHP time limits if they want to raise this tremedously.</li> <li>Some changes to the conversion documentation</li> + <li>[Fix] Only use permissions from existing forums during the conversion (Bug #11417)</li> + </ul> </div> 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(); |