diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php
index 15162c8b273..5f0d474eaef 100644
--- a/htdocs/core/lib/project.lib.php
+++ b/htdocs/core/lib/project.lib.php
@@ -913,21 +913,24 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
if ($showproject) {
print '
| | ';
}
- if (count($arrayfields) > 0 && !empty($arrayfields['t.label']['checked'])) {
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.label']['checked'])) {
print ' | ';
}
- if (count($arrayfields) > 0 && !empty($arrayfields['t.dateo']['checked'])) {
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.description']['checked'])) {
print ' | ';
}
- if (count($arrayfields) > 0 && !empty($arrayfields['t.datee']['checked'])) {
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.dateo']['checked'])) {
print ' | ';
}
- if (count($arrayfields) > 0 && !empty($arrayfields['t.planned_workload']['checked'])) {
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.datee']['checked'])) {
+ print ' | ';
+ }
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.planned_workload']['checked'])) {
print '';
print convertSecondToTime($total_projectlinesa_planned, 'allhourmin');
print ' | ';
}
- if (count($arrayfields) > 0 && !empty($arrayfields['t.duration_effective']['checked'])) {
+ if (count($arrayfields) > 0 && ! empty($arrayfields['t.duration_effective']['checked'])) {
print '';
if ($projectidfortotallink > 0) {
print '';
@@ -1021,6 +1024,9 @@ function projectLinesa(&$inc, $parent, &$lines, &$level, $var, $showproject, &$t
if (count($arrayfields) > 0 && !empty($arrayfields['c.assigned']['checked'])) {
print ' | | ';
}
+ if (! empty($totalarray['nbfield'])) {
+ print ' | ';
+ }
print ' | ';
print '';
}