[BUGFIX] Prevent fatal error in TemplatePaths without TS
This fixes an issue with Fluid being asked to render a template at an execution point where no TS can be resolved (ConfigurationManager "get full typoscript" returns null). Casting the potentially null return value to an array completely avoids the issue, since Fluid is perfectly capable of generating fallback expected paths which always point to the right extension resources folders. Change-Id: I3e07fb0248cb9d0f1faa560e6f72a47e41314763 Releases: master Resolves: #79098 Reviewed-on: https://review.typo3.org/51048 Reviewed-by:Benni Mack <benni@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Mona Muzaffar <mona.muzaffar@gmx.de> Tested-by:
Markus Klein <markus.klein@typo3.org>
Please register or sign in to comment