diff options
author | Andrew Dolgov <[email protected]> | 2021-03-15 22:29:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-15 22:29:03 +0300 |
commit | 77924a62860342bf548fa995cf10dd49db5513fc (patch) | |
tree | ad68651ed5bf32f0293e3ec5ac7494afb43abfdf /classes/feeds.php | |
parent | 1870fe172b41061899c1917303a494d5e567f1bf (diff) |
wip: flavor icon cachingexp-flavor-icon-cache
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 68d535481..96b7cb4cf 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -228,6 +228,17 @@ class Feeds extends Handler_Protected { $this->_mark_timestamp(" labels"); + if ($line["tag_cache"]) + $tags = explode(",", $line["tag_cache"]); + else + $tags = []; + + $line["tags"] = $tags; + + //$line["tags"] = Article::_get_tags($line["id"], false, $line["tag_cache"]); + + $this->_mark_timestamp(" tags"); + $line["feed_title"] = $line["feed_title"] ?? ""; $line["buttons_left"] = ""; @@ -282,17 +293,6 @@ class Feeds extends Handler_Protected { $this->_mark_timestamp(" local-datetime"); - if ($line["tag_cache"]) - $tags = explode(",", $line["tag_cache"]); - else - $tags = []; - - $line["tags"] = $tags; - - //$line["tags"] = Article::_get_tags($line["id"], false, $line["tag_cache"]); - - $this->_mark_timestamp(" tags"); - $line['has_icon'] = self::_has_icon($feed_id); //setting feed headline background color, needs to change text color based on dark/light |