diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 04965ddd13d..fd9386672e2 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -2534,11 +2534,11 @@ if ($action == 'create')
$desc = $form->textwithpicto($text, $langs->transnoentities("InvoiceAvoirDesc"), 1, 'help', '', 0, 3);
print $desc;
- print '
';
- print ' 0 ? 'checked':'').' /> ";
- print '
0 ? 'checked':'').' /> ";
- print '
';
-
+ print '';
+ print ' 0 ? 'checked':'').' /> ";
+ print '
0 ? 'checked':'').' /> ";
+ print '
';
+
print '';
}
}
diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 8563572da7c..4b734a5e7d9 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -552,14 +552,14 @@ if ($resql)
if ($search_societe) $param.='&search_societe=' .urlencode($search_societe);
if ($search_sale > 0) $param.='&search_sale=' .urlencode($search_sale);
if ($search_user > 0) $param.='&search_user=' .urlencode($search_user);
- if ($search_product_category > 0) $param.='$search_product_category=' .urlencode($search_product_category);
+ if ($search_product_category > 0) $param.='&search_product_category=' .urlencode($search_product_category);
if ($search_montant_ht != '') $param.='&search_montant_ht='.urlencode($search_montant_ht);
if ($search_montant_vat != '') $param.='&search_montant_vat='.urlencode($search_montant_vat);
if ($search_montant_localtax1 != '') $param.='&search_montant_localtax1='.urlencode($search_montant_localtax1);
if ($search_montant_localtax2 != '') $param.='&search_montant_localtax2='.urlencode($search_montant_localtax2);
if ($search_montant_ttc != '') $param.='&search_montant_ttc='.urlencode($search_montant_ttc);
if ($search_status != '') $param.='&search_status='.urlencode($search_status);
- if ($search_paymentmode > 0) $param.='search_paymentmode='.urlencode($search_paymentmode);
+ if ($search_paymentmode > 0) $param.='&search_paymentmode='.urlencode($search_paymentmode);
if ($show_files) $param.='&show_files=' .$show_files;
if ($option) $param.="&option=".$option;
if ($optioncss != '') $param.='&optioncss='.$optioncss;