From dd45a2aff9ace69e69d6b4445ad4c7f58a0e80ea Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 28 Feb 2007 21:15:58 +0000 Subject: [PATCH] fixed parseHtml() fieldsets --- lam/lib/modules.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index bc997698..622de971 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -605,7 +605,8 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex case 'fieldset': echo "
\n"; if ($input[$i][$j]['legend']!='') echo "" . $input[$i][$j]['legend'] . "\n"; - parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $tabindexLink, $scope); + $retTemp = parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $tabindexLink, $scope); + $ret = array_merge($ret, $retTemp); echo "
\n"; break; // selection