mirror of
https://github.com/friendica/friendica
synced 2024-11-14 11:02:55 +00:00
Merge pull request #10010 from annando/issue-9996
issue 9996: "bd" cannot be ""
This commit is contained in:
commit
f6873cc912
1 changed files with 2 additions and 3 deletions
|
@ -2579,15 +2579,14 @@ class Contact
|
|||
public static function updateBirthdays()
|
||||
{
|
||||
$condition = [
|
||||
'`bd` != ""
|
||||
AND `bd` > "0001-01-01"
|
||||
AND SUBSTRING(`bd`, 1, 4) != `bdyear`
|
||||
'`bd` > ?
|
||||
AND (`contact`.`rel` = ? OR `contact`.`rel` = ?)
|
||||
AND NOT `contact`.`pending`
|
||||
AND NOT `contact`.`hidden`
|
||||
AND NOT `contact`.`blocked`
|
||||
AND NOT `contact`.`archive`
|
||||
AND NOT `contact`.`deleted`',
|
||||
DBA::NULL_DATE,
|
||||
self::SHARING,
|
||||
self::FRIEND
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue