|
@@ -135,7 +135,7 @@ |
|
|
block discarded – undo |
|
135
|
135
|
$first = ( $offset > 0 ? 0 : null ); |
|
136
|
136
|
$prev = ( $offset - $limit >= 0 ? $offset - $limit : null ); |
|
137
|
137
|
$next = ( $offset + $limit < $total ? $offset + $limit : null ); |
|
138
|
|
-$last = ( ((int) ($total / $limit)) * $limit > $offset ? ((int) ($total / $limit)) * $limit : null ); |
|
|
138
|
+$last = ( ( (int) ( $total / $limit ) ) * $limit > $offset ? ( (int) ( $total / $limit ) ) * $limit : null ); |
|
139
|
139
|
|
|
140
|
140
|
|
|
141
|
141
|
$ref = array( 'id', 'resource', 'filter', 'page', 'sort', 'include', 'fields' ); |
Please login to merge, or discard this patch.