diff options
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 914eac95e..c72e4bf83 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -275,7 +275,7 @@ function relative_date($posted_date, $format = null) { $abs = strtotime($localtime); - if (is_null($posted_date) || $posted_date === NULL_DATE || $abs === false) { + if (is_null($posted_date) || is_null_date($posted_date) || $abs === false) { return t('never'); } |