another
This commit is contained in:
parent
cddf6e9d5f
commit
53d51b1cd1
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Reference in a new issue