diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index ec8ca171d63..4353200644a 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -53,7 +53,7 @@ $offset = $limit * $page ; if (! $sortfield) $sortfield="p.ref"; if (! $sortorder) $sortorder="DESC"; -if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) { +if (isset($_POST["button_removefilter_x"])) { $sref=""; $snom=""; } @@ -178,7 +178,7 @@ if ($resql) print "\n"; // Lignes des champs de filtre - print '
';