mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-09 11:24:35 +02:00
Merge remote-tracking branch 'p/ticket/10186' into develop-olympus
* p/ticket/10186: [ticket/10186] UCP signature panel displays when not authed for signatures
This commit is contained in:
@ -314,6 +314,12 @@ if (!$config['allow_topic_notify'] && !$config['allow_forum_notify'])
|
|||||||
$module->set_display('main', 'subscribed', false);
|
$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
|
// Select the active module
|
||||||
$module->set_active($id, $mode);
|
$module->set_active($id, $mode);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user