diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php
index 7ea78438bfe..9ed6529c222 100644
--- a/htdocs/takepos/invoice.php
+++ b/htdocs/takepos/invoice.php
@@ -444,9 +444,9 @@ if ($action=="valid" || $action=="history")
else $sectionwithinvoicelink.=' ';
$sectionwithinvoicelink.=' ';
if ($invoice->paye) $sectionwithinvoicelink.='';
- } else { $sectionwithinvoicelink.=' ';
+} else { $sectionwithinvoicelink.=' ';
if ($invoice->paye) $sectionwithinvoicelink.='';
- }
+}
/*
* View