another escape
This commit is contained in:
parent
aeb9829c9a
commit
b1f37f1ccb
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class NumericScore extends Extension
|
|||
$result = $database->get_col($sql, $args);
|
||||
$images = [];
|
||||
foreach ($result as $id) {
|
||||
$images[] = Image::by_id($id);
|
||||
$images[] = Image::by_id(int_escape($id));
|
||||
}
|
||||
|
||||
$this->theme->view_popular($images, $dte);
|
||||
|
|
Reference in a new issue