From 8d74b510098a91d586be4a0377a9987fe94593c9 Mon Sep 17 00:00:00 2001 From: BENKE Charlene <1179011+defrance@users.noreply.github.com> Date: Fri, 4 Feb 2022 15:52:37 +0100 Subject: [PATCH] fix : duration in hour and min (not in second) use convertSecondToTime for totalise duration --- htdocs/fichinter/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php index d710d7cd6cc..871d6511669 100644 --- a/htdocs/fichinter/list.php +++ b/htdocs/fichinter/list.php @@ -741,7 +741,7 @@ if ($resql) { if (!$i) { $totalarray['pos'][$totalarray['nbfield']] = 'fd.duree'; } - $totalarray['val']['fd.duree'] += $obj->duree; + $totalarray['val']['fd.duree'] += convertSecondToTime($obj->duree, 'allhourmin'); } // Action column print '