From 773fcd8f06881af0a75a44cbf6b42f35c3399db5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 5 Apr 2024 15:04:18 +0200 Subject: [PATCH] Fix rss --- dev/tools/apstats.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 4adfb61f544..39f2638eaa1 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -751,12 +751,12 @@ foreach ($arrayofalerts as $key => $alert) { $html .= ''; $html .= ''; $html .= ''.dol_trunc($alert['commitid'], 8).''; - $arrayofalerts[$key]['description'] .= '
Commit ID: '.$alert['commitid']; + $arrayofalerts[$key]['description'] .= "\n".'
Commit ID: '.$alert['commitid']; if (!empty($alert['commitidbis'])) { $html .= '
+
'; } @@ -783,7 +783,8 @@ foreach ($arrayofalerts as $key => $alert) { $html .= ''; if (!empty($alert['issueidcve'])) { $cve = preg_replace('/\s+/', '-', trim($alert['issueidcve'])); - $html .= 'CVE-'.$cve.''; + $html .= 'CVE-'.$cve.''; + $arrayofalerts[$key]['description'] .= "\n".'
CVE-'.$cve.' at: '.$arrayofalerts[$key]['url_cve']; } $html .= ''; $html .= ''.dol_escape_htmltag($alert['title']).'';