From 91c0ca07558ba27d694ca811460646a2b10653a1 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 11 Nov 2008 02:37:01 +0000 Subject: [PATCH] BUGFIX Adjusted Translatable to api changes from r65581 git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65583 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/Translatable.php b/core/model/Translatable.php index 11c333996..4d5c61125 100755 --- a/core/model/Translatable.php +++ b/core/model/Translatable.php @@ -662,7 +662,7 @@ class Translatable extends DataObjectDecorator { if (array_search($fieldname,$this->translatableFields) !== false) { // Duplicate the field if ($field->Title()) $nonEditableField->setTitle('Original'); - $nonEditableField_holder->insertBeforeRecursive($field, $fieldname.'_original'); + $nonEditableField_holder->insertBefore($field, $fieldname.'_original'); $tasks['dup'][$fieldname] = $nonEditableField_holder; } }