summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-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;