diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 880a18d501a..0ed7f28ad54 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -96,7 +96,7 @@ $day_lim = GETPOST('day_lim','int');
$month_lim = GETPOST('month_lim','int');
$year_lim = GETPOST('year_lim','int');
-$option = GETPOST('option');
+$option = GETPOST('search_option');
if ($option == 'late') {
$search_status = '1';
}
@@ -560,7 +560,7 @@ if ($resql)
if ($search_status != '') $param.='&search_status='.urlencode($search_status);
if ($search_paymentmode > 0) $param.='search_paymentmode='.urlencode($search_paymentmode);
if ($show_files) $param.='&show_files=' .$show_files;
- if ($option) $param.="&option=".$option;
+ if ($option) $param.="&search_option=".$option;
if ($optioncss != '') $param.='&optioncss='.$optioncss;
// Add $param from extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_param.tpl.php';
@@ -714,7 +714,7 @@ if ($resql)
if (! empty($conf->global->MAIN_LIST_FILTER_ON_DAY)) print '';
print '';
$formother->select_year($year_lim?$year_lim:-1,'year_lim',1, 20, 5, 0, 0, '', 'width75');
- print '
'.$langs->trans("Late");
+ print '
'.$langs->trans("Late");
print '';
}
// Project