mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
parent
1bb392c8dc
commit
2422195945
@ -535,7 +535,8 @@ class Translatable extends DataExtension implements PermissionProvider {
|
|||||||
$this->translatableFields = array_merge(
|
$this->translatableFields = array_merge(
|
||||||
array_keys($this->owner->inheritedDatabaseFields()),
|
array_keys($this->owner->inheritedDatabaseFields()),
|
||||||
array_keys($this->owner->has_many()),
|
array_keys($this->owner->has_many()),
|
||||||
array_keys($this->owner->many_many())
|
array_keys($this->owner->many_many()),
|
||||||
|
array_keys($this->owner->has_one())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user