Fix: bad variable name

This commit is contained in:
Regis Houssin 2009-11-05 18:31:54 +00:00
parent 3ceba4e3b0
commit ec9ab24fd0

View File

@ -21,7 +21,7 @@
/**
* \file htdocs/compta/tva/fiche.php
* \ingroup tax
* \brief Page des règlements de TVA
* \brief Page des r<EFBFBD>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);
}