From 9d6bc02c5b350e0cfd1a6b0dd4c03fec81ddffc4 Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Fri, 1 Dec 2023 13:00:47 +0100 Subject: [PATCH] Fix feed rendering --- Classes/Controller/AbstractCompatibilityController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/AbstractCompatibilityController.php b/Classes/Controller/AbstractCompatibilityController.php index 41daef22..d1971daa 100644 --- a/Classes/Controller/AbstractCompatibilityController.php +++ b/Classes/Controller/AbstractCompatibilityController.php @@ -62,11 +62,11 @@ protected function sendHeaderAndFilename( switch ($this->request->getFormat()) { case 'ics': // Use CRLF, see https://tools.ietf.org/html/rfc5545#section-3.1 - echo str_replace("\n", "\r\n", $response->getBody()->getContents()); + echo str_replace("\n", "\r\n", $response->getBody()->__toString()); break; default: - echo $response->getBody()->getContents(); + echo $response->getBody()->__toString(); break; }