Hehehehe ...

git-svn-id: file:///svn/phpbb/trunk@6322 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Dominik Dröscher 2006-08-28 18:45:18 +00:00
parent c0a880b665
commit e59432cbc5

View file

@ -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'])) . "%'