aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorJosh Woody <a_jelly_doughnut@phpbb.com>2010-01-18 16:41:21 +0000
committerJosh Woody <a_jelly_doughnut@phpbb.com>2010-01-18 16:41:21 +0000
commitad14664a3a53c270511bc19392c38b60a2c3e3ff (patch)
treec159a97c1780bd83cd763a6cff321803eff40108 /phpBB/posting.php
parentcb389894e948b2e23473d1de21c5843ac1059a8c (diff)
downloadforums-ad14664a3a53c270511bc19392c38b60a2c3e3ff.tar
forums-ad14664a3a53c270511bc19392c38b60a2c3e3ff.tar.gz
forums-ad14664a3a53c270511bc19392c38b60a2c3e3ff.tar.bz2
forums-ad14664a3a53c270511bc19392c38b60a2c3e3ff.tar.xz
forums-ad14664a3a53c270511bc19392c38b60a2c3e3ff.zip
- 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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 660ca8ef23..d5a46db9f9 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -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;
}