summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-16 23:23:02 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-16 23:23:02 +0000
commit9881932d0734f515dc03e71551cfa7d04472f9a9 (patch)
tree4f6a9446b336621ddcb70d5c11609be58ece46a7
parentb7dd4d2ad1e93771cdff11198e7fdf81ca8633de (diff)
Minor
-rw-r--r--lib/action.php4
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;