mirror of
https://github.com/friendica/friendica
synced 2025-04-25 22:30:10 +00:00
re-added last item date in admin user page. relative_date return 'never' if null is passed
This commit is contained in:
parent
baead9f4c8
commit
f4a1820110
3 changed files with 16 additions and 7 deletions
|
@ -177,7 +177,7 @@ function relative_date($posted_date) {
|
|||
|
||||
$abs = strtotime($localtime);
|
||||
|
||||
if ($posted_date === '0000-00-00 00:00:00' || $abs === False) {
|
||||
if (is_null($posted_date) || $posted_date === '0000-00-00 00:00:00' || $abs === False) {
|
||||
return t('never');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue