mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Hehehehe ...
git-svn-id: file:///svn/phpbb/trunk@6322 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c0a880b665
commit
e59432cbc5
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ $db->sql_freeresult($result);
|
||||||
$birthday_list = '';
|
$birthday_list = '';
|
||||||
if ($config['load_birthdays'])
|
if ($config['load_birthdays'])
|
||||||
{
|
{
|
||||||
$now = getdate(time() + $this->timezone + $this->dst);
|
$now = getdate(time() + $user->timezone + $user->dst);
|
||||||
$sql = 'SELECT user_id, username, user_colour, user_birthday
|
$sql = 'SELECT user_id, username, user_colour, user_birthday
|
||||||
FROM ' . USERS_TABLE . "
|
FROM ' . USERS_TABLE . "
|
||||||
WHERE user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%'
|
WHERE user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%2d-', $now['mday'], $now['mon'])) . "%'
|
||||||
|
|
Loading…
Add table
Reference in a new issue