Permalink
Browse files

#2447 - Bug in editing comment

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@54205 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent c063363 commit fb6bab202b540edf0805f41b2fb3d2de4824a89c @sminnee sminnee committed May 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/ComplexTableField.php
@@ -273,7 +273,7 @@ function DetailForm($childID = null) {
// If the fieldset is passed, use it, else use the formfields returned
// from the object via a string method call.
if(is_a($this->detailFormFields,"Fieldset")){
- $detailFields = $this->detailFormFields;
+ $detailFields = clone $this->detailFormFields;
} else if( isset( $childData ) && is_string($this->detailFormFields)){
$functioncall = $this->detailFormFields;
if($childData->hasMethod($functioncall)){

0 comments on commit fb6bab2

Please sign in to comment.