[BUGFIX] Cast fallback language uids to integer 62/59662/7
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 7 Feb 2019 12:04:05 +0000 (13:04 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 7 Feb 2019 23:36:13 +0000 (00:36 +0100)
commit9bb0cabe68636d5a23ee4b0a207ce764f82280cf
tree6d62059c4b3e73d9ae0d3436c99f3ce9662e832f
parent9618006aeeb7058c23cdfb1f5a9f01bd4d9958ed
[BUGFIX] Cast fallback language uids to integer

To prepare a couple of bugfixes regarding the language fallback handling,
the property `SiteLanguage::$fallbackLanguageIds` must be an array of
integer values. The patch ensures that all values are cast to integers.

Resolves: #87673
Releases: master, 9.5
Change-Id: I437a08ce992718f601a612df4cddd9ecac5e1d3a
Reviewed-on: https://review.typo3.org/59662
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Site/Entity/SiteLanguage.php
typo3/sysext/core/Tests/Unit/Site/Entity/SiteLanguageTest.php