diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-01-15 21:43:15 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-01-15 21:43:15 +0100 |
commit | 1628a28e0c41e925d50082d94b5282b81904e863 (patch) | |
tree | 203a2fe05bea94d5cf28f5042df0cc2fcf68e06a /phpBB | |
parent | d7aa3aab5e40747e71d091d8033207f4363fb59c (diff) | |
parent | aa21bc2a733c1690ad7a371f962c244542135a43 (diff) | |
download | forums-1628a28e0c41e925d50082d94b5282b81904e863.tar forums-1628a28e0c41e925d50082d94b5282b81904e863.tar.gz forums-1628a28e0c41e925d50082d94b5282b81904e863.tar.bz2 forums-1628a28e0c41e925d50082d94b5282b81904e863.tar.xz forums-1628a28e0c41e925d50082d94b5282b81904e863.zip |
Merge remote-tracking branch 'rxu/ticket/10589' into develop-olympus
* rxu/ticket/10589:
[ticket/10589] Add alias to 'user_birthday' in $leap_year_birthdays definition
Diffstat (limited to 'phpBB')
-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 |