mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:40:16 +00:00
Issue 9996: "bd" is a date field it cannot be empty
This commit is contained in:
parent
c89d6dfaac
commit
409a8322a8
1 changed files with 1 additions and 3 deletions
|
@ -2579,9 +2579,7 @@ class Contact
|
||||||
public static function updateBirthdays()
|
public static function updateBirthdays()
|
||||||
{
|
{
|
||||||
$condition = [
|
$condition = [
|
||||||
'`bd` != ""
|
'`bd` > "0001-01-01"
|
||||||
AND `bd` > "0001-01-01"
|
|
||||||
AND SUBSTRING(`bd`, 1, 4) != `bdyear`
|
|
||||||
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
|
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
|
||||||
AND NOT `contact`.`pending`
|
AND NOT `contact`.`pending`
|
||||||
AND NOT `contact`.`hidden`
|
AND NOT `contact`.`hidden`
|
||||||
|
|
Loading…
Reference in a new issue