This commit is contained in:
sarven 2009-01-16 23:23:02 +00:00
parent b7dd4d2ad1
commit 9881932d07

View File

@ -565,8 +565,8 @@ class Action extends HTMLOutputter // lawsuit
if ($is_selected) { if ($is_selected) {
$lattrs['class'] = 'current'; $lattrs['class'] = 'current';
} }
(is_null($id)) ? $lattrs : $lattrs['id'] = $id;
$this->elementStart('li', (is_null($id)) ? $lattrs : array_merge(array('id' => $id), $lattrs)); $this->elementStart('li', $lattrs);
$attrs['href'] = $url; $attrs['href'] = $url;
if ($title) { if ($title) {
$attrs['title'] = $title; $attrs['title'] = $title;