[BUGFIX] Convert languageId to integer before passing to getLanguageById 99/56599/2
authorSimon Gilli <typo3@gilbertsoft.org>
Fri, 6 Apr 2018 22:47:20 +0000 (00:47 +0200)
committerBenni Mack <benni@typo3.org>
Sat, 7 Apr 2018 12:12:55 +0000 (14:12 +0200)
commit5a12dc5ffa8daaadd4ee6af71e164d4e46de2fb2
treeba443ae14791aacb957708e77f02e27f2259a40f
parent88d586bcfb30a529c8dcefab697d83dbe45e5e3e
[BUGFIX] Convert languageId to integer before passing to getLanguageById

ServerRequestInterface->getQueryParams() returns as string value which
has to be converted to an integer before passing it to
Site->getLanguageById().

Resolves: #84652
Related: #84581
Releases: master
Change-Id: Ibfdb2043aa5f6aee1e7e3cf92d752c7f399ef39b
Reviewed-on: https://review.typo3.org/56599
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Simon Gilli <typo3@gilbertsoft.org>
Tested-by: Simon Gilli <typo3@gilbertsoft.org>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Middleware/SiteResolver.php