forked from GNUsocial/gnu-social
Minor
This commit is contained in:
parent
b7dd4d2ad1
commit
9881932d07
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user