From efc443aac930823a6ad6065fa7c52bef1ed922db Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 23 Aug 2011 14:49:22 +0200 Subject: [ticket/10334] Require permissions to view the birthday-list on board index PHPBB3-10334 --- phpBB/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/index.php') diff --git a/phpBB/index.php b/phpBB/index.php index 91cbd326b9..fe5a179705 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -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 -- cgit v1.2.3-65-gdbad