git-svn-id: file:///svn/phpbb/trunk@7698 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2007-05-29 17:01:07 +00:00
parent 91bd630ba0
commit 7aeb6a4c4a
2 changed files with 5 additions and 2 deletions

View file

@ -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>[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>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>Some changes to the conversion documentation</li>
<li>[Fix] Only use permissions from existing forums during the conversion (Bug #11417)</li>
</ul> </ul>
</div> </div>

View file

@ -581,10 +581,11 @@ function phpbb_convert_authentication($mode)
} }
// Grab user auth information from 2.0.x board // Grab user auth information from 2.0.x board
$sql = "SELECT ug.user_id, aa.* $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 WHERE g.group_id = aa.group_id
AND g.group_single_user = 1 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); $result = $src_db->sql_query($sql);
$user_access = array(); $user_access = array();