mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 01:51:31 +02:00
[ticket/10334] Require permissions to view the birthday-list on board index
PHPBB3-10334
This commit is contained in:
@@ -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);
|
||||
$sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday
|
||||
|
Reference in New Issue
Block a user