mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 07:05:56 +00:00
queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
This commit is contained in:
@@ -183,7 +183,11 @@ class Counters {
|
||||
|
||||
$last_updated = make_local_datetime($line['last_updated'], false);
|
||||
|
||||
$has_img = feed_has_icon($id);
|
||||
if (Feeds::feedHasIcon($id)) {
|
||||
$has_img = filemtime(Feeds::getIconFile($id));
|
||||
} else {
|
||||
$has_img = false;
|
||||
}
|
||||
|
||||
if (date('Y') - date('Y', strtotime($line['last_updated'])) > 2)
|
||||
$last_updated = '';
|
||||
|
||||
Reference in New Issue
Block a user