diff --git a/htdocs/compta/salaries/index.php b/htdocs/compta/salaries/index.php
index 17c3efdbfaa0dc1080ede50fe6b3e2fe1dbb245f..678b3bfaa2e754f0be9f85bb38c66f7261fe1b2b 100644
--- a/htdocs/compta/salaries/index.php
+++ b/htdocs/compta/salaries/index.php
@@ -64,7 +64,7 @@ else
 	$typeid=$_REQUEST['typeid'];
 }
 
-if (GETPOST("button_removefilter"))
+if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers
 {
 	$search_ref="";
 	$search_label="";