summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-17 00:46:33 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-17 00:46:33 +0000
commitb9fb70ee70ecd465f5843241b308f2b8680120f6 (patch)
tree090e777bd9dc27426e5d267658df89169a8cd33e /lib
parent2561199e59ce6c4f4390443bda6d17d709ce1e36 (diff)
Markup clean up and styles
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/action.php b/lib/action.php
index 1622047c0..35f6f2e3e 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -565,8 +565,7 @@ class Action extends HTMLOutputter // lawsuit
if ($is_selected) {
$lattrs['class'] = 'current';
}
- (is_null($id)) ? $lattrs : $lattrs['id'] = $id;
- $this->elementStart('li', $lattrs);
+ $this->elementStart('li', (is_null($id)) ? $lattrs : $lattr['id'] = $id);
$attrs['href'] = $url;
if ($title) {
$attrs['title'] = $title;