diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 3f1004d1dcf..69580e54d33 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -736,6 +736,7 @@ $html .= '
'."\n"; $html .= ''."\n"; $html .= ''."\n"; foreach ($arrayofalerts as $key => $alert) { + $cve = ''; $arrayofalerts[$key]['url_commit'] = 'https://github.com/Dolibarr/dolibarr/commit/'.$alert['commitid']; if (!empty($alert['issueid'])) { $arrayofalerts[$key]['url_issue'] = 'https://github.com/Dolibarr/dolibarr/issues/'.$alert['issueid']; @@ -749,7 +750,7 @@ foreach ($arrayofalerts as $key => $alert) { $html .= ''; $html .= ''; $html .= '
Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
Title
'; - $html .= ''.dol_trunc($alert['commitid'], 8).''; + $html .= ''.dol_trunc($alert['commitid'], 8).''; $arrayofalerts[$key]['description'] .= '
Commit ID: '.$alert['commitid']; if (!empty($alert['commitidbis'])) { $html .= '
+
'; if (!empty($alert['issueid'])) { - $html .= '#'.$alert['issueid'].''; + $html .= '#'.$alert['issueid'].''; } else { //$html .= 'private'; }