Skip to content

Commit

Permalink
fix wrong options key in localized resource normalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Feb 21, 2022
1 parent 0d15db3 commit d81ce04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Upgrade Notes

#### 1.0.3
- **[BUGFIX]**: fix wrong options key in localized resource normalizer

#### Update from Version 1.0.1 to Version 1.0.2
- **[IMPROVEMENT]**: Fix missing Resource Proxy Option Resolver [@dpfaffenbauer](https://github.com/dachcom-digital/pimcore-dynamic-search-data-provider-trinity/pull/5)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ protected function normalizeDataObject(ContextDefinitionInterface $contextDefini
*/
protected function getLocales()
{
if($this->options['locale'] === null) {
if($this->options['locales'] === null) {
return \Pimcore\Tool::getValidLanguages();
}

return $this->options['locale'];
return $this->options['locales'];
}
}

0 comments on commit d81ce04

Please sign in to comment.