1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:55:56 +00:00

make sure rendering image enclosures respect hide_image setting

This commit is contained in:
Andrew Dolgov
2013-03-21 15:37:08 +04:00
parent b3092a2a43
commit 33de3d37af
2 changed files with 13 additions and 7 deletions

View File

@@ -637,8 +637,7 @@ class Feeds extends Handler_Protected {
$always_display_enclosures = sql_bool_to_bool($line["always_display_enclosures"]);
$reply['content'] .= format_article_enclosures($this->link, $id, $always_display_enclosures,
$line["content"]);
$reply['content'] .= format_article_enclosures($this->link, $id, $always_display_enclosures, $line["content"], sql_bool_to_bool($line["hide_images"]));
$reply['content'] .= "</div>";