[BUGFIX] Restore compatibilty with TYPO3 9

This commit is contained in:
Philipp Dieter 2024-12-12 20:51:05 +01:00
parent 1bc7ad1eb0
commit 8502ea3910
2 changed files with 10 additions and 8 deletions

View File

@ -825,6 +825,7 @@ class ActionController extends BaseController
);
}
$this->view->assignMultiple($result);
if (version_compare(TYPO3_branch, '10.0', '>=')) {
return $this
->responseFactory
->createResponse()
@ -834,3 +835,4 @@ class ActionController extends BaseController
);
}
}
}

View File

@ -1,5 +1,5 @@
<?php
defined('TYPO3') || die();
defined('TYPO3_MODE') || die();
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'TemplatesAide',