summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 06:33:45 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 06:33:45 +0000
commite7687c66b21fec1a2db524842505d229ce896e72 (patch)
treedc7bae27b7e3bcd5ae070ab4052c006efac9041c /lib/action.php
parent5a10287bc3e2ee2b2529bd95ce73d22e8c237e22 (diff)
Using @id instead of @class for navigation li
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index 35f6f2e3e..71520b84e 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -565,7 +565,10 @@ class Action extends HTMLOutputter // lawsuit
if ($is_selected) {
$lattrs['class'] = 'current';
}
- $this->elementStart('li', (is_null($id)) ? $lattrs : $lattr['id'] = $id);
+
+ (is_null($id)) ? $lattrs : $lattrs['id'] = $id;
+
+ $this->elementStart('li', $lattrs);
$attrs['href'] = $url;
if ($title) {
$attrs['title'] = $title;