mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Hehehehe ...
git-svn-id: file:///svn/phpbb/trunk@6322 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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'])) . "%'
|
||||||
|
Reference in New Issue
Block a user