mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merge pull request #479 from slygoncito/0dace174a79b87a2a196cc2bc94dbb009b705878
Option 'currentClass' always defaults to 'current'.
This commit is contained in:
commit
df0d1d681f
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue