From d57344a2e725264a8078dc5d6c1dc237479a616d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= <frederic.france@free.fr>
Date: Sun, 23 Nov 2014 09:34:56 +0100
Subject: [PATCH] Update /contrat/list.php

---
 htdocs/contrat/list.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/contrat/list.php b/htdocs/contrat/list.php
index b1b28192395..debe18e995e 100644
--- a/htdocs/contrat/list.php
+++ b/htdocs/contrat/list.php
@@ -58,7 +58,7 @@ $result = restrictedArea($user, 'contrat', $id);
 $staticcontrat=new Contrat($db);
 $staticcontratligne=new ContratLigne($db);
 
-if (GETPOST("button_removefilter"))
+if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers
 {
 	$search_name="";
 	$search_contract="";
-- 
GitLab