diff options
| author | Oliver Schramm <oliver.schramm97@gmail.com> | 2014-07-16 18:31:12 +0200 |
|---|---|---|
| committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2015-07-19 21:26:47 +0200 |
| commit | 7d31232846e29311e5b76bf32f41f64da7985a79 (patch) | |
| tree | 5e84f565cd94d54a854f5ef5006e5dd112b3884e /phpBB/posting.php | |
| parent | df56b2ed364e24f803047c9f64d168432ba2680c (diff) | |
| download | forums-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/posting.php')
| -rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 7f89bdbadf..52cd1093c0 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1202,6 +1202,9 @@ if ($submit || $preview || $refresh) switch ($post_data['topic_type']) { case POST_GLOBAL: + $auth_option = 'f_announce_global'; + break; + case POST_ANNOUNCE: $auth_option = 'f_announce'; break; |
