mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:05:55 +00:00
nsfw: support API clients
This commit is contained in:
@@ -152,7 +152,7 @@ class Handler_Public extends Handler {
|
||||
$tpl->setVariable('ARTICLE_ENCLOSURE_LENGTH', "", true);
|
||||
}
|
||||
|
||||
list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $feed_site_url);
|
||||
list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $feed_site_url, $line);
|
||||
|
||||
$tpl->setVariable('ARTICLE_OG_IMAGE', $og_image, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user