diff options
author | rxu <rxu@mail.ru> | 2017-01-08 22:16:40 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2017-01-08 22:16:40 +0700 |
commit | c98193a799067896e61b0df615fe49bc48814048 (patch) | |
tree | c2a9b945ca2d769c7af9e1d8c587f1a2eb2039fd /phpBB | |
parent | 385feb0a5d21676786884aab0956976505efdf2a (diff) | |
download | forums-c98193a799067896e61b0df615fe49bc48814048.tar forums-c98193a799067896e61b0df615fe49bc48814048.tar.gz forums-c98193a799067896e61b0df615fe49bc48814048.tar.bz2 forums-c98193a799067896e61b0df615fe49bc48814048.tar.xz forums-c98193a799067896e61b0df615fe49bc48814048.zip |
[ticket/14971] Fix pagination PHP warning on PHP 7.1
PHPBB3-14971
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/pagination.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/pagination.php b/phpBB/phpbb/pagination.php index 7a81c25ad2..a5a95b096d 100644 --- a/phpBB/phpbb/pagination.php +++ b/phpBB/phpbb/pagination.php @@ -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; } /** |