diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index 1d8dd1db08e..d1f50889182 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -77,9 +77,9 @@ class FormOther
$out .= ' Scan a product barcode
';
$out .= ' Scan a product lot or serial number
';
- $stringaddbarcode = $langs->trans("QtyToAddAfterBarcodeScan","tmphtml");
+ $stringaddbarcode = $langs->trans("QtyToAddAfterBarcodeScan", "tmphtml");
$htmltoreplaceby = '';
- $stringaddbarcode = str_replace("tmphtml",$htmltoreplaceby,$stringaddbarcode);
+ $stringaddbarcode = str_replace("tmphtml", $htmltoreplaceby, $stringaddbarcode);
$out .= $stringaddbarcode.'
';
$out .= '';
diff --git a/htdocs/product/inventory/ajax/searchfrombarcode.php b/htdocs/product/inventory/ajax/searchfrombarcode.php
index 259aa5999f6..7ee9d2b6be9 100644
--- a/htdocs/product/inventory/ajax/searchfrombarcode.php
+++ b/htdocs/product/inventory/ajax/searchfrombarcode.php
@@ -51,4 +51,3 @@ if (!defined('NOBROWSERNOTIF')) {
}
require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/product/inventory/class/inventory.class.php';
-