aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-25 17:06:13 -0700
committerredmatrix <mike@macgirvin.com>2016-09-25 17:06:13 -0700
commitfb9544badd66043bf7ee5a7566ba288ad7da29fa (patch)
tree3bdb33ed9eef9101f1d6d6972ac9411051b988ce /Zotlabs/Lib/ThreadItem.php
parent4e85bc66b8a5f5347ae15dda229f028d31b58469 (diff)
downloadvolse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.tar.gz
volse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.tar.bz2
volse-hubzilla-fb9544badd66043bf7ee5a7566ba288ad7da29fa.zip
null_date conversion; phase 1
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index f50b9680e..120a34a19 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -344,7 +344,7 @@ class ThreadItem {
'isotime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'c'),
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'),
'editedtime' => (($item['edited'] != $item['created']) ? sprintf( t('last edited: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['edited'], 'r')) : ''),
- 'expiretime' => (($item['expires'] !== NULL_DATE) ? sprintf( t('Expires: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['expires'], 'r')):''),
+ 'expiretime' => (($item['expires'] > NULL_DATE) ? sprintf( t('Expires: %s'), datetime_convert('UTC', date_default_timezone_get(), $item['expires'], 'r')):''),
'lock' => $lock,
'verified' => $verified,
'unverified' => $unverified,