summaryrefslogtreecommitdiff
path: root/classes/counters.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-10-01 19:01:33 +0300
committerAndrew Dolgov <[email protected]>2022-10-01 19:01:33 +0300
commitc654f02a5354290e528e7fcaa1ee0979b1190fa4 (patch)
tree31eba5a6f50b224c0c0288f5068bf3840fed21aa /classes/counters.php
parent6cbdbd261eee35bb1d8bb57eb73b1746bbbaa144 (diff)
parent54942b766403df27063214e3e25d1eeabdca8097 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'classes/counters.php')
-rw-r--r--classes/counters.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/counters.php b/classes/counters.php
index bc4d2d4a3..9699cb97c 100644
--- a/classes/counters.php
+++ b/classes/counters.php
@@ -193,7 +193,7 @@ class Counters {
}
// hide default un-updated timestamp i.e. 1970-01-01 (?) -fox
- if ((int)date('Y') - (int)date('Y', strtotime($line['last_updated'])) > 2)
+ if ((int)date('Y') - (int)date('Y', strtotime($line['last_updated'] ?? '')) > 2)
$last_updated = '';
$cv = [