[BUGFIX] Fix return type of determineSiteScript 95/59395/5
authorHarald Atteneder <harald@urbantrout.io>
Thu, 10 Jan 2019 10:26:27 +0000 (10:26 +0000)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 Feb 2019 16:43:05 +0000 (17:43 +0100)
commite0646bd4f1f3b5799e56033d4ca3a1cf49b489b7
treeb3e018560ac8bec99bcbe1ad6fae3072ef8fb0ff
parent5cb62973f13ecd8e09ec7a9b8c57c954a8a3bce8
[BUGFIX] Fix return type of determineSiteScript

substr returns a boolean instead of an empty string. A typecast fixes
this problem (See http://php.net/manual/de/function.substr.php#90369)

Resolves: #87387
Releases: master, 9.5
Change-Id: I14aa49c18ae028dc27b94bfdbfc3dfb643c18746
Reviewed-on: https://review.typo3.org/59395
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Http/NormalizedParams.php
typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php