diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-05-13 01:29:00 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-05-13 01:29:00 +0200 |
commit | 46110d8cef5b6eb91793b680bec7bb9550abd69f (patch) | |
tree | 8142b9d26ef99244f70cd61cfdd907296dc5c549 | |
parent | 0d407f10d08d620116b7279d57b4ea2375aea394 (diff) | |
parent | f6fa52540c0fb20d79b4d59cb08c49484d9f3116 (diff) | |
download | forums-46110d8cef5b6eb91793b680bec7bb9550abd69f.tar forums-46110d8cef5b6eb91793b680bec7bb9550abd69f.tar.gz forums-46110d8cef5b6eb91793b680bec7bb9550abd69f.tar.bz2 forums-46110d8cef5b6eb91793b680bec7bb9550abd69f.tar.xz forums-46110d8cef5b6eb91793b680bec7bb9550abd69f.zip |
Merge remote-tracking branch 'p/ticket/10186' into develop-olympus
* p/ticket/10186:
[ticket/10186] UCP signature panel displays when not authed for signatures
-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 f5a2ec9648..8fa022668b 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -314,6 +314,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); |