summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-07 13:22:38 +0300
committerAndrew Dolgov <[email protected]>2021-03-07 13:22:38 +0300
commitac6a59914b0c1a20f084f9ae9a3136b28c89493e (patch)
tree122b1489c91496bb2768a8b84c96af6e8d0321c6 /classes/handler/public.php
parentffb93d72acb60d1418cc00f2bc676a623f7e5e1c (diff)
nsfw: support API clients
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-xclasses/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 15ea01103..2de073cc2 100755
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -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);