api: pass article id to sanitize

master
Andrew Dolgov 11 years ago
parent 4e5ddeafa6
commit d208abc933

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

Loading…
Cancel
Save