aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-07-16 18:31:12 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2015-07-19 21:26:47 +0200
commit7d31232846e29311e5b76bf32f41f64da7985a79 (patch)
tree5e84f565cd94d54a854f5ef5006e5dd112b3884e /phpBB/includes/mcp/mcp_main.php
parentdf56b2ed364e24f803047c9f64d168432ba2680c (diff)
downloadforums-7d31232846e29311e5b76bf32f41f64da7985a79.tar
forums-7d31232846e29311e5b76bf32f41f64da7985a79.tar.gz
forums-7d31232846e29311e5b76bf32f41f64da7985a79.tar.bz2
forums-7d31232846e29311e5b76bf32f41f64da7985a79.tar.xz
forums-7d31232846e29311e5b76bf32f41f64da7985a79.zip
[ticket/8708] Apply permission 'f_announce_global'
PHPBB3-8708
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 2659a4bf01..66e59bb74d 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -362,7 +362,7 @@ function change_topic_type($action, $topic_ids)
case 'make_global':
$new_topic_type = POST_GLOBAL;
- $check_acl = 'f_announce';
+ $check_acl = 'f_announce_global';
$l_new_type = (sizeof($topic_ids) == 1) ? 'MCP_MAKE_GLOBAL' : 'MCP_MAKE_GLOBALS';
break;