another escape

This commit is contained in:
Shish 2020-07-31 14:55:30 +01:00
parent aeb9829c9a
commit b1f37f1ccb

View file

@ -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);