diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 2c54b22..fd4d9c5 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -1860,7 +1860,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(CheckboxField_Readonly $nonEditableField, CheckboxField $originalField) { $label = $originalField->Title(); $fieldName = $originalField->getName(); $value = ($this->original->$fieldName)