Merge pull request #479 from slygoncito/0dace174a79b87a2a196cc2bc94dbb009b705878

Option 'currentClass' always defaults to 'current'.
This commit is contained in:
Mark Story 2012-02-15 20:05:50 -08:00
commit df0d1d681f

View file

@ -740,7 +740,6 @@ class PaginatorHelper extends AppHelper {
for ($i = 1; $i <= $params['pageCount']; $i++) {
if ($i == $params['page']) {
$currentClass = 'current';
if ($class) {
$currentClass .= ' ' . $class;
}