diff options
author | Andrew Dolgov <[email protected]> | 2021-03-07 13:22:38 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-07 13:22:38 +0300 |
commit | ac6a59914b0c1a20f084f9ae9a3136b28c89493e (patch) | |
tree | 122b1489c91496bb2768a8b84c96af6e8d0321c6 /classes/handler/public.php | |
parent | ffb93d72acb60d1418cc00f2bc676a623f7e5e1c (diff) |
nsfw: support API clients
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 2 |
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); |