mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14971] Fix pagination PHP warning on PHP 7.1
PHPBB3-14971
This commit is contained in:
parent
385feb0a5d
commit
c98193a799
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ class pagination
|
|||
*/
|
||||
public function get_on_page($per_page, $start)
|
||||
{
|
||||
return floor($start / $per_page) + 1;
|
||||
return floor((int) $start / (int) $per_page) + 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue