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