api: pass article id to sanitize

This commit is contained in:
Andrew Dolgov 2013-08-02 14:41:01 +04:00
parent 4e5ddeafa6
commit d208abc933
1 changed files with 1 additions and 1 deletions

View 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"];
}