mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Add support for NULLs as user_birthday
This commit is contained in:
parent
a6ab8ac431
commit
59916c9bf5
4 changed files with 8 additions and 7 deletions
|
@ -76,6 +76,7 @@ if ($bb_cfg['birthday_check_day'] && $bb_cfg['birthday_enabled']) {
|
|||
FROM " . BB_USERS . "
|
||||
WHERE user_id NOT IN(" . EXCLUDED_USERS . ")
|
||||
AND user_birthday != '0000-00-00'
|
||||
AND user_birthday IS NOT NULL
|
||||
AND user_active = 1
|
||||
ORDER BY user_level DESC, username
|
||||
");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue