Skip to content

Commit

Permalink
[ticket/10589] Add alias to 'user_birthday' in $leap_year_birthdays d…
Browse files Browse the repository at this point in the history
…efinition

PHPBB3-10589
  • Loading branch information
rxu committed Jan 15, 2012
1 parent d7aa3aa commit aa21bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/index.php
Expand Up @@ -89,7 +89,7 @@
$leap_year_birthdays = '';
if ($now['mday'] == 28 && $now['mon'] == 2 && !$user->format_date(time(), 'L'))
{
$leap_year_birthdays = " OR user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', 29, 2)) . "%'";
$leap_year_birthdays = " OR u.user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', 29, 2)) . "%'";
}

$sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday
Expand Down

0 comments on commit aa21bc2

Please sign in to comment.