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 .= ' +';
foreach ($alert['commitidbis'] as $tmpcommitidbis) {
$html .= ' '.dol_trunc($tmpcommitidbis, 8).'';
- $arrayofalerts[$key]['description'] .= ' Commit ID: '.$tmpcommitidbis;
+ $arrayofalerts[$key]['description'] .= "\n".' Commit ID: '.$tmpcommitidbis;
}
$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']).' | ';