We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51d0017 commit a817f09Copy full SHA for a817f09
Classes/Sandstorm/GedmoTranslatableConnector/TranslatableTrait.php
@@ -213,7 +213,7 @@ public function setTranslations(array $translations) {
213
}
214
215
// Keep the cache up to date. This also supports getTranslations() calls without persisting the object.
216
- $this->firstLevelTranslationsCache = array_merge_recursive($this->firstLevelTranslationsCache, $translations);
+ $this->firstLevelTranslationsCache = array_replace_recursive($this->firstLevelTranslationsCache, $translations);
217
218
219
/**
0 commit comments