diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index 802d43c8518..73a9bc48a6c 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -1195,7 +1195,7 @@ if (count($listofextcals)) {
if ($ical->error) {
// Save error message for extcal
$listofextcals[$key]['error'] = $ical->error;
- $s .= '
'.dol_escape_htmltag($listofextcals[$key]['name']).': '.$url.'
Error message: '.dol_escape_htmltag($ical->error).'';
+ $s .= '