diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php
index 38d078321e1..8ae94aa536b 100644
--- a/htdocs/projet/element.php
+++ b/htdocs/projet/element.php
@@ -827,13 +827,13 @@ foreach ($listofreferent as $key => $value)
else print $langs->trans("ThirdParty");
print '';
// Duration of intervention
- if($tablename == 'fichinter')
+ if($tablename == 'fichinter')
{
- print '
';
- print $langs->trans("TotalDuration");
- $total_duration = 0;
- print ' | ';
- }
+ print '';
+ print $langs->trans("TotalDuration");
+ $total_duration = 0;
+ print ' | ';
+ }
// Amount HT
//if (empty($value['disableamount']) && ! in_array($tablename, array('projet_task'))) print ''.$langs->trans("AmountHT").' | ';
//elseif (empty($value['disableamount']) && in_array($tablename, array('projet_task'))) print ''.$langs->trans("Amount").' | ';
@@ -1032,14 +1032,14 @@ foreach ($listofreferent as $key => $value)
}
print '';
- // Add duration and store it in counter for fichinter
- if($tablename == 'fichinter')
- {
- print '';
- print convertSecondToTime($element->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY);
- $total_duration += $element->duration;
- print ' | ';
- }
+ // Add duration and store it in counter for fichinter
+ if($tablename == 'fichinter')
+ {
+ print '';
+ print convertSecondToTime($element->duration, 'all', $conf->global->MAIN_DURATION_OF_WORKDAY);
+ $total_duration += $element->duration;
+ print ' | ';
+ }
// Amount without tax
$warning = '';