diff --git a/htdocs/product/list.php b/htdocs/product/list.php index a6b09cea8a6..67cb7fd5f11 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -87,12 +87,14 @@ else $result=restrictedArea($user,'produit|service','','','','','',$objcanvas); * Actions */ -if (isset($_POST["button_removefilter_x"])) +if (GETPOST("button_removefilter_x")) { $sref=""; $sbarcode=""; $snom=""; $search_categ=0; + $tosell=""; + $tobuy=""; } @@ -379,7 +381,7 @@ else print ''; print ''; - print ''; + print ''; print ''; print '';