This commit is contained in:
Shish 2020-01-26 19:46:10 +00:00
parent cddf6e9d5f
commit 53d51b1cd1

View file

@ -154,7 +154,7 @@ class DanbooruApi extends Extension
} elseif (isset($_GET['id'])) { } elseif (isset($_GET['id'])) {
$idlist = explode(",", $_GET['id']); $idlist = explode(",", $_GET['id']);
foreach ($idlist as $id) { foreach ($idlist as $id) {
$results[] = Image::by_id($id); $results[] = Image::by_id(int_escape($id));
} }
$count = count($results); $count = count($results);
} else { } else {