Fix to put @class current on the navigation of the page viewed
This commit is contained in:
parent
98e8a24d88
commit
b7dd4d2ad1
|
@ -566,7 +566,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||
$lattrs['class'] = 'current';
|
||||
}
|
||||
|
||||
$this->elementStart('li', (is_null($id)) ? null : array('id' => $id), $lattrs);
|
||||
$this->elementStart('li', (is_null($id)) ? $lattrs : array_merge(array('id' => $id), $lattrs));
|
||||
$attrs['href'] = $url;
|
||||
if ($title) {
|
||||
$attrs['title'] = $title;
|
||||
|
|
Loading…
Reference in New Issue
Block a user