summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-16 23:13:22 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-16 23:13:22 +0000
commitb7dd4d2ad1e93771cdff11198e7fdf81ca8633de (patch)
treeb38f7c976962946e5ad34c62c86b94fcc1c62cb2 /lib/action.php
parent98e8a24d88d19fb47b74e150e76efafb6e5e90ad (diff)
Fix to put @class current on the navigation of the page viewed
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
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;