Skip to content

Commit

Permalink
fix: keep v12 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jackd248 committed Dec 12, 2024
1 parent 7150d3c commit 4e749f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Middleware/ToolRendererMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct(protected ResourceRenderer $resourceRenderer)
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
$typoScriptConfig = $request->getAttribute('frontend.typoscript')->getConfigArray();
$typoScriptConfig = $GLOBALS['TSFE']->config['config'];

if (
array_key_exists('tx_ximatypo3frontendedit_enable', $typoScriptConfig)
Expand Down

0 comments on commit 4e749f8

Please sign in to comment.