1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 23:32:02 +02: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:
Andreas Fischer 2011-08-30 01:39:14 +02:00
commit 1daefc6177

View File

@ -81,7 +81,7 @@ $legend = implode(', ', $legend);
// Generate birthday list if required ...
$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);