From 530dd32bc573cbf44b276ada22412f51211c28d7 Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Wed, 18 Apr 2018 12:41:02 +0200 Subject: [PATCH] fix wrong locale array index --- src/I18nBundle/Adapter/PathGenerator/Document.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/I18nBundle/Adapter/PathGenerator/Document.php b/src/I18nBundle/Adapter/PathGenerator/Document.php index 49451ee..769f879 100644 --- a/src/I18nBundle/Adapter/PathGenerator/Document.php +++ b/src/I18nBundle/Adapter/PathGenerator/Document.php @@ -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'],