diff --git a/htdocs/core/tpl/freeproductline_create.tpl.php b/htdocs/core/tpl/freeproductline_create.tpl.php
index 334429cc7b57f1126fa4bd43efbbffa3e4080c58..aaca8feab4ea7a31f2037aa21217cda50b31874d 100644
--- a/htdocs/core/tpl/freeproductline_create.tpl.php
+++ b/htdocs/core/tpl/freeproductline_create.tpl.php
@@ -23,7 +23,7 @@
  * $dateSelector
  * $this (invoice, order, ...)
  * $line defined
- */
+ */  
 ?>
 
 <!-- BEGIN PHP TEMPLATE freeproductline_create.tpl.php -->
@@ -100,7 +100,7 @@ if ($conf->marges->enabled) {
 
 
 <?php if ($conf->service->enabled && $dateSelector) { 
-if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER)
+if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
 	$colspan = 10;
 else
 	$colspan = 9;
diff --git a/htdocs/core/tpl/predefinedproductline_create.tpl.php b/htdocs/core/tpl/predefinedproductline_create.tpl.php
index a7672c4251e871a9d5952e98fef5dee815a6e811..c4a0bebd61485f5b529d4e8f2b0ee5ee4a780491 100644
--- a/htdocs/core/tpl/predefinedproductline_create.tpl.php
+++ b/htdocs/core/tpl/predefinedproductline_create.tpl.php
@@ -109,7 +109,7 @@ if ($conf->marges->enabled) {
 </tr>
 
 <?php if ($conf->service->enabled && $dateSelector) {
-if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER)
+if(! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
 	$colspan = 10;
 else
 	$colspan = 9;