From 5e95362dd7ef4d97a5ef744ce4b5c518fa0ee30a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 18 Oct 2024 11:56:29 +0200 Subject: [PATCH] fix(call): Fix support for PHP < 8.3 Signed-off-by: Joas Schilling --- lib/Controller/CallController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/CallController.php b/lib/Controller/CallController.php index 854a8e5bbef..7e17b26e2d3 100644 --- a/lib/Controller/CallController.php +++ b/lib/Controller/CallController.php @@ -173,7 +173,7 @@ public function downloadParticipantsForCall(string $format = 'csv'): DataDownloa try { $dateTimeZone = new \DateTimeZone($timezone); - } catch (\DateInvalidTimeZoneException) { + } catch (\Throwable) { $dateTimeZone = null; }