diff options
author | Andrew Dolgov <[email protected]> | 2022-10-01 19:01:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-10-01 19:01:33 +0300 |
commit | c654f02a5354290e528e7fcaa1ee0979b1190fa4 (patch) | |
tree | 31eba5a6f50b224c0c0288f5068bf3840fed21aa /classes/counters.php | |
parent | 6cbdbd261eee35bb1d8bb57eb73b1746bbbaa144 (diff) | |
parent | 54942b766403df27063214e3e25d1eeabdca8097 (diff) |
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'classes/counters.php')
-rw-r--r-- | classes/counters.php | 2 |
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 = [ |