From ec9ab24fd086b6eefba260f9cb7d523d42a867c6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 5 Nov 2009 18:31:54 +0000 Subject: [PATCH] Fix: bad variable name --- htdocs/compta/tva/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php index d5498409c9b..8652f1332c2 100644 --- a/htdocs/compta/tva/fiche.php +++ b/htdocs/compta/tva/fiche.php @@ -21,7 +21,7 @@ /** * \file htdocs/compta/tva/fiche.php * \ingroup tax - * \brief Page des règlements de TVA + * \brief Page des r�glements de TVA * \version $Id$ */ @@ -91,7 +91,7 @@ if ($_GET["action"] == 'delete') if ($tva->fk_bank) { $accountline=new AccountLine($db); - $result=$accountline->fetch($vatpayment->fk_bank); + $result=$accountline->fetch($tva->fk_bank); $result=$accountline->delete($user); }