diff options
author | rxu <rxu@mail.ru> | 2012-01-15 18:18:04 +0800 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2012-01-15 18:18:04 +0800 |
commit | aa21bc2a733c1690ad7a371f962c244542135a43 (patch) | |
tree | 203a2fe05bea94d5cf28f5042df0cc2fcf68e06a /phpBB/index.php | |
parent | d7aa3aab5e40747e71d091d8033207f4363fb59c (diff) | |
download | forums-aa21bc2a733c1690ad7a371f962c244542135a43.tar forums-aa21bc2a733c1690ad7a371f962c244542135a43.tar.gz forums-aa21bc2a733c1690ad7a371f962c244542135a43.tar.bz2 forums-aa21bc2a733c1690ad7a371f962c244542135a43.tar.xz forums-aa21bc2a733c1690ad7a371f962c244542135a43.zip |
[ticket/10589] Add alias to 'user_birthday' in $leap_year_birthdays definition
PHPBB3-10589
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 0105a0a1bd..46694a6ec2 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -89,7 +89,7 @@ if ($config['load_birthdays'] && $config['allow_birthdays'] && $auth->acl_gets(' $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 |