summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-28 20:58:08 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-28 20:58:08 +0000
commit0e48fc4eced57b2d8dc7e3fe336b49e83a97663a (patch)
tree43090cef27e84ecaab880aa86c6059a8e9e0e3c3 /includes
parente174039d6fc745c851e8ca5ce37a38dafd34cfe8 (diff)
downloadbrdo-0e48fc4eced57b2d8dc7e3fe336b49e83a97663a.tar.gz
brdo-0e48fc4eced57b2d8dc7e3fe336b49e83a97663a.tar.bz2
- Patch #668150 by mfb: fxed theme_item_list() when used with nested lists.
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';