aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-05-13 01:29:57 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-05-13 01:29:57 +0200
commit1f4b4aee9db48d423d40a7073ba519aa10794b10 (patch)
tree39b9bf742faf530e9533952974bcf32c3254d32d /phpBB/ucp.php
parentMerge branch 'develop-olympus' into develop (diff)
parentMerge remote-tracking branch 'p/ticket/10186' into develop-olympus (diff)
downloadphpbb-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar.gz
phpbb-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar.bz2
phpbb-1f4b4aee9db48d423d40a7073ba519aa10794b10.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10186] UCP signature panel displays when not authed for signatures
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php6
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);