1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:05:56 +00:00

move get_article_labels to Article

This commit is contained in:
Andrew Dolgov
2017-05-04 15:26:21 +03:00
parent 2ed0d6c433
commit 4a0da0e5bf
5 changed files with 51 additions and 55 deletions

View File

@@ -350,7 +350,7 @@ class Feeds extends Handler_Protected {
}
}
if (!is_array($labels)) $labels = get_article_labels($id);
if (!is_array($labels)) $labels = Article::get_article_labels($id);
$labels_str = "<span class=\"HLLCTR-$id\">";
$labels_str .= Article::format_article_labels($labels);