Skip to content

Commit

Permalink
fix issue #286
Browse files Browse the repository at this point in the history
  • Loading branch information
bigahuna authored and Gitsko committed May 27, 2024
1 parent 2915c34 commit a4461bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Database/RteImagesDbHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ private function modifyRteField(string $value): string
$magicImageService = GeneralUtility::makeInstance(MagicImageService::class);

$pageTsConfig = BackendUtility::getPagesTSconfig(0);
$magicImageService->setMagicImageMaximumDimensions($pageTsConfig['TCEFORM.']['RTE.']['default.'] ?? []);
$magicImageService->setMagicImageMaximumDimensions($pageTsConfig['RTE.']['default.'] ?? []);

foreach ($imgSplit as $key => $v) {
// Odd numbers contains the <img> tags
Expand Down

0 comments on commit a4461bb

Please sign in to comment.