From 131f34648d8b8fa8388f619c144480e06f5f9921 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 15:03:48 +0300 Subject: render headline labels on the client --- classes/feeds.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'classes/feeds.php') diff --git a/classes/feeds.php b/classes/feeds.php index 04553451c..1e1b20d93 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -216,11 +216,7 @@ class Feeds extends Handler_Protected { if (!is_array($labels)) $labels = Article::_get_labels($id); - $labels_str = ""; - $labels_str .= Article::_format_labels_html($labels); - $labels_str .= ""; - - $line["labels"] = $labels_str; + $line["labels"] = Article::_get_labels($id); if (count($topmost_article_ids) < 3) { array_push($topmost_article_ids, $id); -- cgit v1.2.3-54-g00ecf