]> git.wh0rd.org - tt-rss.git/commitdiff
properly handle per-feed hide_images setting in three panel mode (closes #706)
authorAndrew Dolgov <fox@fakecake.org>
Mon, 3 Jun 2013 06:31:45 +0000 (10:31 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Mon, 3 Jun 2013 06:31:45 +0000 (10:31 +0400)
include/functions.php

index f7d2e9083dd43b80aa7156a25e4af727633d2008..77725fa981dbc1d266ba05b8234a37a392cdeda0 100644 (file)
                        $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);