Issue 9996: "bd" is a date field it cannot be empty

2022.09-rc
Michael 2021-03-08 18:50:50 +00:00
rodzic c89d6dfaac
commit 409a8322a8
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -2579,9 +2579,7 @@ class Contact
public static function updateBirthdays()
{
$condition = [
'`bd` != ""
AND `bd` > "0001-01-01"
AND SUBSTRING(`bd`, 1, 4) != `bdyear`
'`bd` > "0001-01-01"
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
AND NOT `contact`.`pending`
AND NOT `contact`.`hidden`