From 6aa2f9e7422c41193294c871913867ee42dc34a0 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 11 May 2011 11:21:37 +0200 Subject: [PATCH] [ticket/10173] Use correct variable, checking for $birthday_year was correct. PHPBB3-10173 --- phpBB/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/index.php b/phpBB/index.php index 5d62cb1071..427377a2cd 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -106,7 +106,7 @@ if ($config['load_birthdays'] && $config['allow_birthdays']) )); // For 3.0 compatibility - $birthday_list[] = $birthday_username . (($birthday_age) ? ' (' . $birthday_age . ')' : ''); + $birthday_list[] = $birthday_username . (($birthday_year) ? ' (' . $birthday_age . ')' : ''); } $db->sql_freeresult($result); }