Skip to content

Commit 5e4a9c3

Browse files
committed
[BUGFIX] Don't try to process int scripts with none available
1 parent 761860a commit 5e4a9c3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Classes/Middleware/TypoScriptRenderingHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
4646
ob_clean();
4747

4848
//prepare and return final output
49-
$GLOBALS['TSFE']->INTincScript();
49+
if ($GLOBALS['TSFE']->isINTincScript()) {
50+
$GLOBALS['TSFE']->INTincScript();
51+
}
5052

5153
$response = GeneralUtility::makeInstance(Response::class);
5254

0 commit comments

Comments
 (0)