Fix danbooru themes with new strict types

This commit is contained in:
Daniel Oaks 2020-03-09 01:49:36 +10:00
parent 135432b329
commit 388a2545d1
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ class Themelet extends BaseThemelet
$pages = [];
foreach (range($start, $end) as $i) {
$pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, $i);
$pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, (string)$i);
}
$pages_html = implode(" ", $pages);

View file

@ -45,7 +45,7 @@ class Themelet extends BaseThemelet
$pages = [];
foreach (range($start, $end) as $i) {
$pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, $i);
$pages[] = $this->gen_page_link_block($base_url, $query, $i, $current_page, (string)$i);
}
$pages_html = implode(" ", $pages);