diff --git a/htdocs/core/class/html.formcontract.class.php b/htdocs/core/class/html.formcontract.class.php
index 860bcc2ca67..c0ea71ee6f8 100644
--- a/htdocs/core/class/html.formcontract.class.php
+++ b/htdocs/core/class/html.formcontract.class.php
@@ -71,7 +71,7 @@ class FormContract
// Search all contacts
$sql = 'SELECT c.rowid, c.ref, c.fk_soc, c.statut';
- if($showRef)
+ if ($showRef)
{
$sql .= ', c.ref_customer, c.ref_supplier';
}
@@ -111,10 +111,10 @@ class FormContract
} else {
$labeltoshow = dol_trunc($obj->ref, 18);
- if($showRef)
+ if ($showRef)
{
- if($obj->ref_customer) $labeltoshow = $labeltoshow." - ".$obj->ref_customer;
- if($obj->ref_supplier) $labeltoshow = $labeltoshow." - ".$obj->ref_supplier;
+ if ($obj->ref_customer) $labeltoshow = $labeltoshow." - ".$obj->ref_customer;
+ if ($obj->ref_supplier) $labeltoshow = $labeltoshow." - ".$obj->ref_supplier;
}
//if ($obj->public) $labeltoshow.=' ('.$langs->trans("SharedProject").')';