summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-07-31 22:49:15 -0400
committerDries Buytaert <dries@buytaert.net>2011-07-31 22:49:48 -0400
commit781b8961c698d8aec6031b98725858c7f9bd8759 (patch)
treeb39a352d0ce711203b9b04dcd9bad0d8979ef174 /includes/theme.inc
parent8cba9e72b17fa367473e0bc382057490f52dfd21 (diff)
downloadbrdo-781b8961c698d8aec6031b98725858c7f9bd8759.tar.gz
brdo-781b8961c698d8aec6031b98725858c7f9bd8759.tar.bz2
- Patch #774040 by B-Prod, mattyoung: theme_item_list() function duplicates last value when dealing with children.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 651a6c1eb..6c2b64069 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1820,6 +1820,7 @@ function theme_item_list($variables) {
foreach ($items as $i => $item) {
$attributes = array();
$children = array();
+ $data = '';
if (is_array($item)) {
foreach ($item as $key => $value) {
if ($key == 'data') {