Skip to content

Commit

Permalink
Correct typecast of math expression
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Sep 12, 2014
1 parent 1781716 commit 083bffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/PaginatorHelper.php
Expand Up @@ -620,7 +620,7 @@ public function numbers(array $options = array()) {
$ellipsis = $templater->format('ellipsis', []);

if ($options['modulus'] && $params['pageCount'] > $options['modulus']) {
$half = (int)$options['modulus'] / 2;
$half = (int)($options['modulus'] / 2);
$end = $params['page'] + $half;

if ($end > $params['pageCount']) {
Expand Down

0 comments on commit 083bffa

Please sign in to comment.