瀏覽代碼
Fixed paginator bug
Sometimes it happens that the selected page is the last selectable page in a
block of pagelinks. I.e. 1 2 3 4 5 6 ... 101 102 With 6 the current page.
The routines inside the paginator used expressions
like:
$var * 0.75 which evaluated as 0 when $var = 1. Changing it to $var * 3/4 fixed the issue.