From f58537c08cafc3c1af61f8f29b9294e5cf5aedbe Mon Sep 17 00:00:00 2001 From: Alexander Kellner Date: Thu, 5 Dec 2024 16:58:29 +0100 Subject: [PATCH] [TASK] Temporarily deactivated for TYPO3 13 update Reason see: https://github.com/in2code-de/luxletter/issues/225#issuecomment-2520705098 --- Classes/Domain/Service/PreviewUrlService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Domain/Service/PreviewUrlService.php b/Classes/Domain/Service/PreviewUrlService.php index 94b4734..2ee44fd 100644 --- a/Classes/Domain/Service/PreviewUrlService.php +++ b/Classes/Domain/Service/PreviewUrlService.php @@ -87,9 +87,9 @@ protected function getUrlInDefaultInstallation(string $origin, string $layout): protected function getUrl(string $origin, string $layout, int $language = 0): string { - if (MathUtility::canBeInterpretedAsInteger($origin)) { - return $this->getUrlFromPageIdentifier((int)$origin, $layout, $language); - } +// if (MathUtility::canBeInterpretedAsInteger($origin)) { +// return $this->getUrlFromPageIdentifier((int)$origin, $layout, $language); +// } $url = '//' . GeneralUtility::getIndpEnv('HTTP_HOST') . '?type=1560777975'; $url .= '&tx_luxletter_preview[origin]=' . htmlspecialchars($origin);