diff --git a/code/model/Translatable.php b/code/model/Translatable.php index 042151c..babf0fd 100755 --- a/code/model/Translatable.php +++ b/code/model/Translatable.php @@ -533,7 +533,7 @@ class Translatable extends DataExtension implements PermissionProvider { // setting translatable fields by inspecting owner - this should really be done in the constructor if($this->owner && $this->translatableFields === null) { $this->translatableFields = array_merge( - array_keys($this->owner->inheritedDatabaseFields()), + array_keys($this->owner->db()), array_keys($this->owner->has_many()), array_keys($this->owner->many_many()), array_keys($this->owner->has_one())