Skip to content

Commit 69b5937

Browse files
committed
fix: handle php warning "Undefined array key 3"
1 parent ad416cf commit 69b5937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Fusion/ConvertEmailLinksImplementation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function convertLinkName(array $matches)
109109
{
110110
$replacedEmail = $this->linkNameConverter->convert(trim($matches[2]));
111111

112-
return $matches[1] . $replacedEmail . $matches[3] ?? '';
112+
return $matches[1] . $replacedEmail . ($matches[3] ?? '');
113113
}
114114

115115
/**

0 commit comments

Comments
 (0)