]> git.wh0rd.org Git - tt-rss.git/commitdiff
api: pass article id to sanitize
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 2 Aug 2013 10:41:01 +0000 (14:41 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 2 Aug 2013 10:41:01 +0000 (14:41 +0400)
classes/api.php

index e9ffc63dd10e579a5420b99e0deab34aa1c66179..4330b3dc674e814e411925521cbba3b58368f89b 100644 (file)
@@ -678,7 +678,7 @@ class API extends Handler {
                                                $headline_row["content"] = sanitize(
                                                        $line["content"],
                                                        sql_bool_to_bool($line['hide_images']),
-                                                       false, $line["site_url"]);
+                                                       false, $line["site_url"], false, $line["id"]);
                                        } else {
                                                $headline_row["content"] = $line["content"];
                                        }