From 781b8961c698d8aec6031b98725858c7f9bd8759 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 31 Jul 2011 22:49:15 -0400 Subject: - Patch #774040 by B-Prod, mattyoung: theme_item_list() function duplicates last value when dealing with children. --- includes/theme.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') 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') { -- cgit v1.2.3