From: sarven Date: Fri, 16 Jan 2009 23:23:02 +0000 (+0000) Subject: Minor X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9881932d0734f515dc03e71551cfa7d04472f9a9;p=quix0rs-gnu-social.git Minor --- diff --git a/lib/action.php b/lib/action.php index fce9df4da7..1622047c0c 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;