1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/17109] Check attach signature permissions

Don't show the attach signature option if the
user doesn't have permission or if the signature
feature is disabled for the board.

PHPBB3-17109
This commit is contained in:
battye
2024-05-17 14:02:12 +00:00
parent 6aa980eadb
commit 611faafaf3
3 changed files with 5 additions and 1 deletions

View File

@@ -488,6 +488,8 @@ class ucp_prefs
}
$template->assign_vars(array(
'S_SIG_ALLOWED' => $config['allow_sig'] && $auth->acl_get('u_sig'),
'S_BBCODE' => $data['bbcode'],
'S_SMILIES' => $data['smilies'],
'S_SIG' => $data['sig'],