Replace remaining occurrences of "0001-01-01" with DBA::NULL_DATE
This commit is contained in:
parent
cf1c63fcc2
commit
d71e856535
6 changed files with 11 additions and 12 deletions
|
@ -107,7 +107,7 @@ function hovercard_content()
|
|||
'about' => $contact['about'],
|
||||
'network' => Strings::formatNetworkName($contact['network'], $contact['url']),
|
||||
'tags' => $contact['keywords'],
|
||||
'bd' => $contact['birthday'] <= '0001-01-01' ? '' : $contact['birthday'],
|
||||
'bd' => $contact['birthday'] <= DBA::NULL_DATE ? '' : $contact['birthday'],
|
||||
'account_type' => Contact::getAccountType($contact),
|
||||
'actions' => $actions,
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue