1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

other fixes...

git-svn-id: file:///svn/phpbb/trunk@7242 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2007-03-30 14:24:55 +00:00
parent 9f82dec04b
commit efcb1279f0
23 changed files with 96 additions and 63 deletions

View File

@@ -124,14 +124,14 @@ if (!$auth->acl_getf_global('m_'))
if (!$allow_user)
{
trigger_error($user->lang['NOT_AUTHORIZED']);
trigger_error($user->lang['NOT_AUTHORISED']);
}
}
// if the user cannot read the forum he tries to access then we won't allow mcp access either
if ($forum_id && !$auth->acl_get('f_read', $forum_id))
{
trigger_error($user->lang['NOT_AUTHORIZED']);
trigger_error($user->lang['NOT_AUTHORISED']);
}
if ($forum_id)