From 87d25869acbb4342ee37c9bb46e53e8476407d10 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Feb 2024 18:55:22 +0100 Subject: [PATCH] Fix lost lines --- dev/tools/apstats.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 28c1f84badb..da238e0f43b 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -696,9 +696,9 @@ if (count($output_phan_json) != 0) { } $code_url_attr = dol_escape_htmltag($urlgit.$path.$line_range); if ($phan_nblines < 20) { - $tmpphan = ''; + $tmpphan .= ''; } else { - $tmpphan = ''; + $tmpphan .= ''; } $tmpphan .= ''.dolPrintHTML($path).''; $tmpphan .= ''; @@ -706,6 +706,7 @@ if (count($output_phan_json) != 0) { $tmpphan .= ''; $tmpphan .= ''.dolPrintHTML($notice['description']).''; $tmpphan .= ''; + $tmpphan .= "\n"; $phan_nblines++; }