Report #37: Birthdays Ahead (code update from Kendoo)

This commit is contained in:
Ice
2008-01-27 00:51:49 +00:00
parent 0e8aa895f8
commit 703cfee42b

View File

@@ -25,7 +25,7 @@ if ($config['load_birthdays'] && $config['allow_birthdays'])
$sql = 'SELECT user_id, username, user_colour, user_birthday
FROM ' . USERS_TABLE . "
WHERE user_birthday <> ''
AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ') ORDER BY SUBSTRING(user_birthday FROM 4 FOR 2) ASC, SUBSTRING(user_birthday FROM 1 FOR 2) ASC';
AND user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ') ORDER BY SUBSTRING(user_birthday FROM 4 FOR 2) ASC, SUBSTRING(user_birthday FROM 1 FOR 2) ASC, username_clean ASC';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))