1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 07:16:36 +02:00

Merge branch 'develop-olympus' into develop

* develop-olympus:
  [ticket/10186] UCP signature panel displays when not authed for signatures
This commit is contained in:
Andreas Fischer 2011-05-13 01:29:57 +02:00
commit 1f4b4aee9d

View File

@ -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);