Replace remaining occurrences of "0001-01-01" with DBA::NULL_DATE
This commit is contained in:
@@ -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,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user