aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-08-30 01:39:14 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-08-30 01:39:14 +0200
commit1daefc6177eef8da8600d35fa4dafb7f8f00bf4b (patch)
treef24c9b38d9b9f879e0184d6a9bfc1ed862064ec0 /phpBB
parenta73bc353d64a774f56d7bac20ccd2149a23466ea (diff)
parentefc443aac930823a6ad6065fa7c52bef1ed922db (diff)
downloadforums-1daefc6177eef8da8600d35fa4dafb7f8f00bf4b.tar
forums-1daefc6177eef8da8600d35fa4dafb7f8f00bf4b.tar.gz
forums-1daefc6177eef8da8600d35fa4dafb7f8f00bf4b.tar.bz2
forums-1daefc6177eef8da8600d35fa4dafb7f8f00bf4b.tar.xz
forums-1daefc6177eef8da8600d35fa4dafb7f8f00bf4b.zip
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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index c3f7c871d3..0105a0a1bd 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);