From b617b14f5bf38404e32759f1b54a14c8cbcb8260 Mon Sep 17 00:00:00 2001 From: opensides Date: Mon, 27 Sep 2004 08:16:22 +0000 Subject: [PATCH] =?UTF-8?q?le=20type=20de=20paiement=20en=20ligne=20n'est?= =?UTF-8?q?=20pas=20le=20m=EAme=20partout=20:=20remplace=20WWW=20par=20VAD?= =?UTF-8?q?=20remplacement=20de=20=20$rowid=20par=20$=5FGET["rowid"]=20dan?= =?UTF-8?q?s=20account.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/bank/account.class.php | 3 ++- htdocs/compta/bank/account.php | 3 ++- htdocs/compta/bank/ligne.php | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) 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