mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
Fix couple of errors ... you should run UPDATE phpbb_users SET user_permissions = '' after this update
git-svn-id: file:///svn/phpbb/trunk@3026 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -53,7 +53,7 @@ function display_forums($root_data=array(), $display_moderators=TRUE)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!$auth->acl_gets('f_list', 'm_', 'a_', $row['forum_id']))
|
||||
if (!$auth->acl_gets('f_list', 'm_', 'a_', intval($row['forum_id'])))
|
||||
{
|
||||
// if the user does not have permissions to list this forum, skip everything until next branch
|
||||
|
||||
|
Reference in New Issue
Block a user