Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fever_api.php to support Article class #25

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.
  • Loading branch information
colindunn committed May 5, 2017
commit 0b1475d938bdc5f11b255be2156e1451ca240088
2 changes: 1 addition & 1 deletion fever/fever_api.php
Expand Up @@ -558,7 +558,7 @@ function getItems()
{
$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 .= '<ul type="lower-greek">';
foreach ($enclosures as $enclosure) {
Expand Down