diff options
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 5 |
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; |