mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge remote-tracking branch 'nickvergessen/ticket/10334' into develop-olympus
* nickvergessen/ticket/10334: [ticket/10334] Require permissions to view the birthday-list on board index
This commit is contained in:
commit
1daefc6177
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ $legend = implode(', ', $legend);
|
||||||
|
|
||||||
// Generate birthday list if required ...
|
// Generate birthday list if required ...
|
||||||
$birthday_list = '';
|
$birthday_list = '';
|
||||||
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);
|
$now = phpbb_gmgetdate(time() + $user->timezone + $user->dst);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue