aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-12-20 14:28:01 +0100
committerAndreas Fischer <bantu@phpbb.com>2012-12-20 14:28:01 +0100
commit3fefa5bb134598979105afd3f27f7ca88b12f655 (patch)
tree85614dbf61fc59e959f394d835a7c5749117c025 /phpBB/includes/functions_posting.php
parent3701d83ecbd358c2ac78b74e314ddb74ce7d1812 (diff)
parentdabe88bb3a71f54c35002c85cc2c7ada23fae318 (diff)
downloadforums-3fefa5bb134598979105afd3f27f7ca88b12f655.tar
forums-3fefa5bb134598979105afd3f27f7ca88b12f655.tar.gz
forums-3fefa5bb134598979105afd3f27f7ca88b12f655.tar.bz2
forums-3fefa5bb134598979105afd3f27f7ca88b12f655.tar.xz
forums-3fefa5bb134598979105afd3f27f7ca88b12f655.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10880] The m_approve permisson no longer implies f_noapprove. Conflicts: phpBB/posting.php
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 171cf988ce..8aea27a9ef 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1695,8 +1695,9 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
// The variable name should be $post_approved, because it indicates if the post is approved or not
$post_approval = 1;
- // Check the permissions for post approval. Moderators are not affected.
- if (!$auth->acl_get('f_noapprove', $data['forum_id']) && !$auth->acl_get('m_approve', $data['forum_id']))
+ // Check the permissions for post approval.
+ // Moderators must go through post approval like ordinary users.
+ if (!$auth->acl_get('f_noapprove', $data['forum_id']))
{
// Post not approved, but in queue
$post_approval = 0;