summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-07 21:48:16 -0700
committerAndrew Dolgov <[email protected]>2013-04-07 21:48:16 -0700
commita53b212ee5fb97030a8acacb5f8a2346a1f1f906 (patch)
tree83150d39d20fb52174379db03a7a8bdf8b1e5c99 /include
parentdb77016fc8245d01a5dbe63ccc308258c794e7f2 (diff)
parent60376e9d529c676b19c0c5cdf46be85483a1035a (diff)
Merge pull request #139 from ezterry/bugfix
fix bug with image attatchment settings
Diffstat (limited to 'include')
-rw-r--r--include/functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index f2d25db07..eff3cb0ea 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'] .= "<div class=\"postContent\">";
$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'] .= "</div>";