diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 4fb008198fb..14b2a5ffbe5 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -2,6 +2,7 @@ /* Copyright (C) 2001-2006 Rodolphe Quiedeville * Copyright (C) 2004-2006 Laurent Destailleur * Copyright (C) 2005 Marc Barilley / Ocebo + * Copyright (C) 2007 Franky Van Liedekerke * * 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 @@ -101,7 +102,7 @@ if ($_POST['action'] == 'add_paiement' || $_POST['action'] == 'confirm_paiement' } } - if ($totalpaiement <= 0) + if ($totalpaiement == 0) { $fiche_erreur_message = '
'.$langs->transnoentities('ErrorFieldRequired',$langs->trans('Amount')).'
'; $error++;