diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-16 23:23:02 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-16 23:23:02 +0000 |
commit | 9881932d0734f515dc03e71551cfa7d04472f9a9 (patch) | |
tree | 4f6a9446b336621ddcb70d5c11609be58ece46a7 /lib/action.php | |
parent | b7dd4d2ad1e93771cdff11198e7fdf81ca8633de (diff) |
Minor
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/action.php b/lib/action.php index fce9df4da..1622047c0 100644 --- a/lib/action.php +++ b/lib/action.php @@ -565,8 +565,8 @@ class Action extends HTMLOutputter // lawsuit if ($is_selected) { $lattrs['class'] = 'current'; } - - $this->elementStart('li', (is_null($id)) ? $lattrs : array_merge(array('id' => $id), $lattrs)); + (is_null($id)) ? $lattrs : $lattrs['id'] = $id; + $this->elementStart('li', $lattrs); $attrs['href'] = $url; if ($title) { $attrs['title'] = $title; |