if(GETPOST("button_removefilter_x")||GETPOST("button_removefilter"))// Both test are required to be compatible with all browsers
if(GETPOST("button_removefilter_x")||GETPOST("button_removefilter.x")||GETPOST("button_removefilter"))// Both test are required to be compatible with all browsers
{
{
$description="";
$description="";
$type="";
$type="";
...
@@ -93,6 +78,7 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both
...
@@ -93,6 +78,7 @@ if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both
$credit="";
$credit="";
$account="";
$account="";
$bid="";
$bid="";
$search_ref="";
$search_req_nb='';
$search_req_nb='';
$search_thirdparty='';
$search_thirdparty='';
$thirdparty='';
$thirdparty='';
...
@@ -127,29 +113,15 @@ $sql.= " LEFT JOIN ".MAIN_DB_PREFIX."bank_url as bu ON bu.fk_bank = b.rowid AND
...
@@ -127,29 +113,15 @@ $sql.= " LEFT JOIN ".MAIN_DB_PREFIX."bank_url as bu ON bu.fk_bank = b.rowid AND
$sql.=" LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON bu.url_id = s.rowid";
$sql.=" LEFT JOIN ".MAIN_DB_PREFIX."societe as s ON bu.url_id = s.rowid";
$sql.=" WHERE b.fk_account = ba.rowid";
$sql.=" WHERE b.fk_account = ba.rowid";
$sql.=" AND ba.entity IN (".getEntity('bank_account',1).")";
$sql.=" AND ba.entity IN (".getEntity('bank_account',1).")";