Fix: Report #67: not using phpbb-function to colour user names

This commit is contained in:
Joas Schilling
2008-02-14 19:42:14 +00:00
parent c2a4799133
commit 34a466657f

View File

@@ -46,7 +46,7 @@ if ($config['load_birthdays'] && $config['allow_birthdays'])
{
if ( $user_birthday >= ($today + 86400) && $user_birthday <= ($today + ($portal_config['portal_birthdays_ahead'] * 86400) ) )
{
$birthday_ahead_list .= get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
$birthday_ahead_list .= '<span title="' . $user->format_date($user_birthday, 'd M') . '">' . get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) . '</span>';
if ( $age = (int) substr($row['user_birthday'], -4) )
{
$birthday_ahead_list .= ' (' . ($now['year'] - $age) . ')<br />'."\n";