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

Merge pull request #6617 from battye/ticket/17109

[ticket/17109] Don't show the attach signature option if the user doesn't have permission
This commit is contained in:
Marc Alexander
2024-05-23 21:34:26 +02:00
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'],