Skip to content

Commit

Permalink
fix wrong locale array index
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Apr 18, 2018
1 parent 4480440 commit 530dd32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/I18nBundle/Adapter/PathGenerator/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ private function documentUrlsFromCountry(PimcoreDocument $currentDocument, $only
$routes[] = [
'languageIso' => $hardLinkWrapper['languageIso'],
'countryIso' => $hardLinkWrapper['countryIso'],
'locale' => $hardLinkWrapper['locale'],
'hrefLang' => $hardLinkWrapper['hrefLang'],
'localeUrlMapping' => $hardLinkWrapper['localeUrlMapping'],
'key' => $languageContext['key'],
Expand Down

0 comments on commit 530dd32

Please sign in to comment.