From 0b1475d938bdc5f11b255be2156e1451ca240088 Mon Sep 17 00:00:00 2001 From: Colin Dunn Date: Fri, 5 May 2017 11:22:53 +1000 Subject: [PATCH] Update fever_api.php to support Article class The latest commit to tt-rss now has classes for various objects, including an Article class, which causes errors in the plugin. This update make the plugin functional again. --- fever/fever_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fever/fever_api.php b/fever/fever_api.php index 03d6d20..6633fa9 100755 --- a/fever/fever_api.php +++ b/fever/fever_api.php @@ -558,7 +558,7 @@ class FeverAPI extends Handler { { $line_content = $this->my_sanitize($line["content"], $line["link"]); if (ADD_ATTACHED_FILES){ - $enclosures = get_article_enclosures($line["id"]); + $enclosures = Article::get_article_enclosures($line["id"]); if (count($enclosures) > 0) { $line_content .= '