summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index 5ff536dab..fce9df4da 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -566,7 +566,7 @@ class Action extends HTMLOutputter // lawsuit
$lattrs['class'] = 'current';
}
- $this->elementStart('li', (is_null($id)) ? null : array('id' => $id), $lattrs);
+ $this->elementStart('li', (is_null($id)) ? $lattrs : array_merge(array('id' => $id), $lattrs));
$attrs['href'] = $url;
if ($title) {
$attrs['title'] = $title;