mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/9687] Fix birthday list query
PHPBB3-9687
This commit is contained in:
parent
9048aed163
commit
9b77dd0283
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ if ($show_birthdays)
|
|||
'FROM' => array(
|
||||
USERS_TABLE => 'u',
|
||||
),
|
||||
'WHERE' => 'u.user_type IN (' . USER_NORMAL . ', ' . USER_FOUNDER . "
|
||||
'WHERE' => 'u.user_type IN (' . USER_NORMAL . ', ' . USER_FOUNDER . ")
|
||||
AND (u.user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%' $leap_year_birthdays)",
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue