diff --git a/htdocs/compta/bank/account.class.php b/htdocs/compta/bank/account.class.php index 76c3c8c9edd..a8a32b0614f 100644 --- a/htdocs/compta/bank/account.class.php +++ b/htdocs/compta/bank/account.class.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2003 Rodolphe Quiedeville * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004 Christophe Combelles * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -135,7 +136,7 @@ class Account $oper = 'LIQ'; break; case 5: - $oper = 'WWW'; + $oper = 'VAD'; break; case 6: $oper = 'CB'; diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 328d7b2da2c..95ebdf05925 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2004 Rodolphe Quiedeville * Copyright (C) 2003 Jean-Louis Bergamo * Copyright (C) 2004 Laurent Destailleur + * Copytight (C) 2004 Christophe Combelles * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,7 +70,7 @@ if ($action == 'add' && $account) if ($action == 'del' && $account && $user->rights->banque->modifier) { $acct=new Account($db,$account); - $acct->deleteline($rowid); + $acct->deleteline($_GET[$rowid]); } /*********************************************************************************** diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 60ff305064e..1684af0d0f9 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2004 Rodolphe Quiedeville * Copyright (C) 2003 Xavier DUTOIT * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004 Christophe Combelles * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by