diff --git a/htdocs/compta/facture.php3 b/htdocs/compta/facture.php3 index 60d65ef9541..11d67a3687f 100644 --- a/htdocs/compta/facture.php3 +++ b/htdocs/compta/facture.php3 @@ -31,9 +31,6 @@ llxHeader(); $db = new Db(); -$yn[1] = "oui"; -$yn[0] = "non"; - /* * Sécurité accés client */ @@ -77,6 +74,7 @@ if ($action == 'add_paiement') if ($action == 'valid') { $fac = new Facture($db); + $fac->fetch($facid); $result = $fac->set_valid($facid, $user->id); if ($result) { diff --git a/htdocs/notify.class.php b/htdocs/notify.class.php index ab20fc83188..fc3ff00355d 100644 --- a/htdocs/notify.class.php +++ b/htdocs/notify.class.php @@ -107,4 +107,3 @@ class Notify } ?> -