mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 00:02:18 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10334] Require permissions to view the birthday-list on board index Conflicts: phpBB/index.php
This commit is contained in:
commit
bf4eb6d06c
@ -82,7 +82,7 @@ $legend = implode(', ', $legend);
|
||||
|
||||
// Generate birthday list if required ...
|
||||
$birthday_list = array();
|
||||
if ($config['load_birthdays'] && $config['allow_birthdays'])
|
||||
if ($config['load_birthdays'] && $config['allow_birthdays'] && $auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel'))
|
||||
{
|
||||
$now = phpbb_gmgetdate(time() + $user->timezone + $user->dst);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user