diff options
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r-- | phpBB/ucp.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 69e48ac85b..4ec5d01fe0 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -316,6 +316,12 @@ if (!$config['allow_topic_notify'] && !$config['allow_forum_notify']) $module->set_display('main', 'subscribed', false); } +// Do not display signature panel if not authed to do so +if (!$auth->acl_get('u_sig')) +{ + $module->set_display('profile', 'signature', false); +} + // Select the active module $module->set_active($id, $mode); |