summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index a4cb7fef9..9c7b767bb 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1926,7 +1926,8 @@ function theme_item_list($variables) {
$data = $item;
}
if (count($children) > 0) {
- $data .= theme_item_list($children, NULL, $type, $attributes); // Render nested list
+ // Render nested list.
+ $data .= theme_item_list(array('items' => $children, 'title' => NULL, 'type' => $type, 'attributes' => $attributes));
}
if ($i == 0) {
$attributes['class'][] = 'first';