summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-06-03 10:31:45 +0400
committerAndrew Dolgov <[email protected]>2013-06-03 10:31:45 +0400
commit53a49ff82a02299627ba15d81b7a011d50162133 (patch)
tree729c3cfa4a98749a3fe241148f0d690f39978f3c /include
parentee442dfec5fc4343d5568aee8d070e3b6e56a524 (diff)
properly handle per-feed hide_images setting in three panel mode (closes #706)
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index f7d2e9083..77725fa98 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -3106,7 +3106,9 @@
$line["tags"] = get_article_tags($id, $owner_uid, $line["tag_cache"]);
unset($line["tag_cache"]);
- $line["content"] = sanitize($line["content"], false, $owner_uid, $line["site_url"]);
+ $line["content"] = sanitize($line["content"],
+ sql_bool_to_bool($line['hide_images']),
+ $owner_uid, $line["site_url"]);
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_RENDER_ARTICLE) as $p) {
$line = $p->hook_render_article($line);