api/getArticle: validate id list
This commit is contained in:
parent
edfab7bd7f
commit
823da71a10
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@
|
|||
|
||||
case "getArticle":
|
||||
|
||||
$article_id = db_escape_string($_REQUEST["article_id"]);
|
||||
$article_id = join(",", array_filter(explode(",", db_escape_string($_REQUEST["article_id"])), is_numeric));
|
||||
|
||||
$query = "SELECT id,title,link,content,feed_id,comments,int_id,
|
||||
marked,unread,published,
|
||||
|
|
Loading…
Reference in a new issue