api: pass article id to sanitize
This commit is contained in:
parent
4e5ddeafa6
commit
d208abc933
|
@ -678,7 +678,7 @@ class API extends Handler {
|
||||||
$headline_row["content"] = sanitize(
|
$headline_row["content"] = sanitize(
|
||||||
$line["content"],
|
$line["content"],
|
||||||
sql_bool_to_bool($line['hide_images']),
|
sql_bool_to_bool($line['hide_images']),
|
||||||
false, $line["site_url"]);
|
false, $line["site_url"], false, $line["id"]);
|
||||||
} else {
|
} else {
|
||||||
$headline_row["content"] = $line["content"];
|
$headline_row["content"] = $line["content"];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue