From b7dd4d2ad1e93771cdff11198e7fdf81ca8633de Mon Sep 17 00:00:00 2001 From: sarven Date: Fri, 16 Jan 2009 23:13:22 +0000 Subject: Fix to put @class current on the navigation of the page viewed --- lib/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/action.php b/lib/action.php index 5ff536dab..fce9df4da 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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; -- cgit v1.2.3-54-g00ecf