mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/8708] Apply permission 'f_announce_global'
PHPBB3-8708
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user