From 69b593701be74d0387e1e220a8bb1f901f34d531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20M=C3=B6ller?= Date: Wed, 30 Oct 2024 16:51:29 +0100 Subject: [PATCH] fix: handle php warning "Undefined array key 3" --- Classes/Fusion/ConvertEmailLinksImplementation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Fusion/ConvertEmailLinksImplementation.php b/Classes/Fusion/ConvertEmailLinksImplementation.php index 8789bdf..b7719fe 100644 --- a/Classes/Fusion/ConvertEmailLinksImplementation.php +++ b/Classes/Fusion/ConvertEmailLinksImplementation.php @@ -109,7 +109,7 @@ public function convertLinkName(array $matches) { $replacedEmail = $this->linkNameConverter->convert(trim($matches[2])); - return $matches[1] . $replacedEmail . $matches[3] ?? ''; + return $matches[1] . $replacedEmail . ($matches[3] ?? ''); } /**