From 703cfee42ba8948e875357bcf258ba6ce5bd4bac Mon Sep 17 00:00:00 2001 From: Ice Date: Sun, 27 Jan 2008 00:51:49 +0000 Subject: [PATCH] Report #37: Birthdays Ahead (code update from Kendoo) --- root/portal/block/birthday_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/portal/block/birthday_list.php b/root/portal/block/birthday_list.php index b205ad09..2e1aecc5 100644 --- a/root/portal/block/birthday_list.php +++ b/root/portal/block/birthday_list.php @@ -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))