Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

BUGFIX Allow has_one relationships to be translated. #69

Merged
merged 1 commit into from Nov 15, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Split
@@ -535,7 +535,8 @@ function setOwner($owner, $ownerBaseClass = null) {
$this->translatableFields = array_merge(
array_keys($this->owner->inheritedDatabaseFields()),
array_keys($this->owner->has_many()),
- array_keys($this->owner->many_many())
+ array_keys($this->owner->many_many()),
+ array_keys($this->owner->has_one())
);
}
}