From: Terrence Ezrol Date: Sun, 7 Apr 2013 23:28:03 +0000 (-0400) Subject: fix bug with image attatchment settings X-Git-Tag: 1.7.9~42^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=60376e9d529c676b19c0c5cdf46be85483a1035a;p=tt-rss.git fix bug with image attatchment settings --- diff --git a/include/functions.php b/include/functions.php index f2d25db0..eff3cb0e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3027,6 +3027,7 @@ ".SUBSTRING_FOR_DATE."(updated,1,16) as updated, (SELECT site_url FROM ttrss_feeds WHERE id = feed_id) as site_url, (SELECT hide_images FROM ttrss_feeds WHERE id = feed_id) as hide_images, + (SELECT always_display_enclosures FROM ttrss_feeds WHERE id = feed_id) as always_display_enclosures, num_comments, tag_cache, author, @@ -3176,9 +3177,10 @@ $rv['content'] .= "
"; $rv['content'] .= $line["content"]; - $rv['content'] .= format_article_enclosures($link, $id, - $always_display_enclosures, $line["content"], $line["hide_images"]); + sql_bool_to_bool($line["always_display_enclosures"]), + $line["content"], + sql_bool_to_bool($line["hide_images"])); $rv['content'] .= "
";