From 02d5be1064126adfa113752e0697c4ac92984ee7 Mon Sep 17 00:00:00 2001 From: ismud Date: Tue, 20 Oct 2015 19:08:12 +0200 Subject: [PATCH] Compatibility issue with SS 3.2.0 SS3.2.0 enables RECOVERABLE_ERRORs to get shown which breaks showing of Settings tab in translations of SiteTree objects. --- code/model/Translatable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 2b99a26..ada52ee 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1899,7 +1899,7 @@ class Translatable_Transformation extends FormTransformation { * @param FormField $originalField The original editable field containing the translated value * @return CheckboxField The field with a modified label */ - protected function transformCheckboxField(CheckboxField $nonEditableField, CheckboxField $originalField) { + protected function transformCheckboxField(FormField $nonEditableField, FormField $originalField) { $label = $originalField->Title(); $fieldName = $originalField->getName(); $value = ($this->original->$fieldName)