diff options
author | Friendika <info@friendika.com> | 2011-06-29 15:30:45 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-29 15:30:45 -0700 |
commit | f73bc7f010e98b078542869cf130dc2c6d7abb25 (patch) | |
tree | 96ff893d63dc6bfb151e271653ac7d3a79032d87 /include/datetime.php | |
parent | baead9f4c83564e9b6d8c87f62a377ee1226a149 (diff) | |
parent | f4a1820110e6c85f91c7a3dbdada35f76be83f36 (diff) | |
download | volse-hubzilla-f73bc7f010e98b078542869cf130dc2c6d7abb25.tar.gz volse-hubzilla-f73bc7f010e98b078542869cf130dc2c6d7abb25.tar.bz2 volse-hubzilla-f73bc7f010e98b078542869cf130dc2c6d7abb25.zip |
Merge pull request #131 from fabrixxm/admin
re-added last item date in admin user page
Diffstat (limited to 'include/datetime.php')
-rw-r--r-- | include/datetime.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php index 8c30cf4b7..a056eaa60 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -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'); } |