Skip to content

Commit

Permalink
Merge pull request #479 from slygoncito/0dace174a79b87a2a196cc2bc94db…
Browse files Browse the repository at this point in the history
…b009b705878

Option 'currentClass' always defaults to 'current'.
  • Loading branch information
markstory committed Feb 16, 2012
2 parents bda0529 + 0dace17 commit df0d1d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/View/Helper/PaginatorHelper.php
Expand Up @@ -740,7 +740,6 @@ public function numbers($options = array()) {

for ($i = 1; $i <= $params['pageCount']; $i++) {
if ($i == $params['page']) {
$currentClass = 'current';
if ($class) {
$currentClass .= ' ' . $class;
}
Expand Down

0 comments on commit df0d1d6

Please sign in to comment.