aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
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
parentcc0e6e9912fea2ef7ada9d49c8cf9e4427cea5f1 (diff)
parent46110d8cef5b6eb91793b680bec7bb9550abd69f (diff)
downloadforums-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar
forums-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar.gz
forums-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar.bz2
forums-1f4b4aee9db48d423d40a7073ba519aa10794b10.tar.xz
forums-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);