elofgren: VAR FIX: Change first concatation to an assignment in CompositeField::debug() (merged from branches/gsoc)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41781 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-14 18:05:21 +00:00
parent 282b8292a4
commit 6b2b21e735
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class CompositeField extends FormField {
}
function debug() {
$result .= "$this->class ($this->name) <ul>";
$result = "$this->class ($this->name) <ul>";
foreach($this->children as $child) {
$result .= "<li>" . Debug::text($child) . "&nbsp;</li>";
}