From 73c11841957000018c9c8f2e390b21dc711ce027 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 14 Aug 2020 13:23:41 +0200 Subject: [PATCH] Fix phpcs --- htdocs/core/tpl/objectline_create.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php index 42c5ea0d2a9..8e19e632817 100644 --- a/htdocs/core/tpl/objectline_create.tpl.php +++ b/htdocs/core/tpl/objectline_create.tpl.php @@ -432,7 +432,7 @@ if ((!empty($conf->service->enabled) || ($object->element == 'contrat')) && $dat { $lastline = $object->lines[$i]; - if($lastline->product_type == Product::TYPE_SERVICE && (! empty($lastline->date_start) || ! empty($lastline->date_end))) + if ($lastline->product_type == Product::TYPE_SERVICE && (! empty($lastline->date_start) || ! empty($lastline->date_end))) { $date_start_prefill = $lastline->date_start; $date_end_prefill = $lastline->date_end;