diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index c6e22a3b3a1..a24cb0cab40 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -2664,7 +2664,6 @@ class Form
if (! empty($conf->barcode->enabled)){
$sql.= " OR p.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
$sql.= " OR pfp.barcode LIKE '".$this->db->escape($prefix.$filterkey)."%'";
-
}
$sql.=')';
}