From b304ddaf2e84b9ac9d881d00dac88de6e366c348 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 29 Mar 2005 11:33:15 +0000 Subject: [PATCH] bugfix --- htdocs/telephonie/script/envoi-emails-speciaux.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/telephonie/script/envoi-emails-speciaux.php b/htdocs/telephonie/script/envoi-emails-speciaux.php index eb148052742..bab0115fc6b 100644 --- a/htdocs/telephonie/script/envoi-emails-speciaux.php +++ b/htdocs/telephonie/script/envoi-emails-speciaux.php @@ -245,9 +245,8 @@ if (sizeof($factures_a_mailer) > 0) if ( $mailfile->sendfile() ) { - for ($kj = 0 ; $kj < sizeof($ligne->contact_facture_id) ; $kj++) + for ($kj = 0 ; $kj < sizeof($emails) ; $kj++) { - //$sendtoid = $ligne->contact_facture_id[$kj]; $sendtoid = $contactid; $sendtox = $emails[$kj];