Fix danbooru themes with new strict types
This commit is contained in:
parent
135432b329
commit
388a2545d1
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Reference in a new issue