aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index d0c6bc0418..d2f54379e2 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -75,7 +75,7 @@ $db->sql_freeresult($result);
// Generate birthday list if required ...
$birthday_list = '';
-if ($config['load_birthdays'])
+if ($config['load_birthdays'] && $config['allow_birthdays'])
{
$now = getdate(time() + $user->timezone + $user->dst - date('Z'));
$sql = 'SELECT user_id, username, user_colour, user_birthday