diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index adf4940b77d..4c3386f933d 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -3547,6 +3547,8 @@ class Form */ function select_barcode_type($selected='',$htmlname='coder_id',$useempty=0) { + global $langs; + $sql = "SELECT rowid, code, libelle"; $sql.= " FROM ".MAIN_DB_PREFIX."c_barcode_type"; $sql.= " WHERE coder > 0"; @@ -3555,13 +3557,19 @@ class Form if ($result) { print '