mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 19:49:54 +02:00
Allow restricted view forums
git-svn-id: file:///svn/phpbb/trunk@402 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -92,7 +92,7 @@ if(!$forum_row)
|
||||
//
|
||||
$is_auth = auth(AUTH_ALL, $forum_id, $userdata, $forum_row[0]);
|
||||
|
||||
if(!$is_auth['auth_read'])
|
||||
if(!$is_auth['auth_read'] || !$is_auth['auth_view'])
|
||||
{
|
||||
//
|
||||
// Ooopss, user is not authed
|
||||
|
Reference in New Issue
Block a user