1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:05:56 +00:00

pass array to setScore

This commit is contained in:
Andrew Dolgov
2021-02-24 12:10:09 +03:00
parent 155e4f6125
commit 8b09e653e0
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ class Article extends Handler_Protected {
}
function setScore() {
$ids = explode(",", clean($_REQUEST['id']));
$ids = array_map("intval", clean($_REQUEST['ids'] ?? []));
$score = (int)clean($_REQUEST['score']);
$ids_qmarks = arr_qmarks($ids);