diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php index 2d6178ed79b..0bccdd61e79 100644 --- a/htdocs/core/tpl/objectline_create.tpl.php +++ b/htdocs/core/tpl/objectline_create.tpl.php @@ -131,7 +131,7 @@ if ($nolinesbefore) { if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { $coldisplay=2; ?> - + service->enabled) || ($object->element == 'contrat')) && $da { $colspan = 6; - if (!empty($conf->global->MAIN_VIEW_LINE_NUMBER)) { - $colspan++; - } if ($this->situation_cycle_ref) { $colspan++; } @@ -447,6 +444,7 @@ if ((! empty($conf->service->enabled) || ($object->element == 'contrat')) && $da ?> > + global->MAIN_VIEW_LINE_NUMBER)) { print ''; } ?>