]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Minor
authorsarven <csarven@plantard.controlezvous.ca>
Fri, 16 Jan 2009 23:23:02 +0000 (23:23 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Fri, 16 Jan 2009 23:23:02 +0000 (23:23 +0000)
lib/action.php

index fce9df4da7a1097e19b0f39719d1768f22498e72..1622047c0c50fb892ebaa83a8138e62faeefe8d8 100644 (file)
@@ -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;