mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
- Bug #56255 - Moving topics to a forum where you are on queue
- Allow some error handling in compress class by returning false if file does not exist. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10427 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -992,7 +992,7 @@ if ($submit || $preview || $refresh)
|
||||
$forum_type = (int) $db->sql_fetchfield('forum_type');
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
if ($forum_type != FORUM_POST || !$auth->acl_get('f_post', $to_forum_id))
|
||||
if ($forum_type != FORUM_POST || !$auth->acl_get('f_post', $to_forum_id) || (!$auth->acl_get('m_approve', $to_forum_id) && !$auth->acl_get('f_noapprove', $to_forum_id)))
|
||||
{
|
||||
$to_forum_id = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user