This commit is contained in:
sarven 2009-01-16 23:23:02 +00:00
parent b7dd4d2ad1
commit 9881932d07
1 changed files with 2 additions and 2 deletions

View 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;