Skip to content
Snippets Groups Projects
Commit 51e81e0a authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Andreas Kienast
Browse files

[BUGFIX] Type cast PageView return value to string

In order to prevent a TypeError, the rendered
view is now casted to string. This is done,
since the result might be `NULL`, e.g. in
case of using an empty template file.

Resolves: #103537
Releases: main
Change-Id: I59272fec4b9514f38bb97bc4aff17e86d67ec1ae
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83651


Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent d10e8c29
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment