phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r650 - trunk/invoicing/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r650 - trunk/invoicing/include
Date: Mon, 6 Jan 2014 02:12:16 +0100 (CET)

Author: danydb
Date: 2014-01-06 02:12:15 +0100 (Mon, 06 Jan 2014)
New Revision: 650

Modified:
   trunk/invoicing/include/invoice_send_mail.inc.php
Log:
Fix 

Modified: trunk/invoicing/include/invoice_send_mail.inc.php
===================================================================
--- trunk/invoicing/include/invoice_send_mail.inc.php   2014-01-06 00:57:46 UTC 
(rev 649)
+++ trunk/invoicing/include/invoice_send_mail.inc.php   2014-01-06 01:12:15 UTC 
(rev 650)
@@ -115,10 +115,10 @@
         {
             $feedback[] = _('Envoi echoué') . " $dest_qcode $dest_name 
$dest_mail";
         }
-    } else if ($invoice['jr_pj_name'] != "" || $invoice['jr_pj'] != "")
+    } else if ($invoice['jr_pj_name'] == "" || $invoice['jr_pj'] == "")
     {
         $feedback[] = _('Aucune pièce à envoyer') . " $dest_qcode $dest_name 
$dest_mail";
-    } else if ($dest_mail == "")
+    } else if ($dest_mail == "" || $dest_mail == NOTFOUND )
     {
         $feedback[] = _('Aucune adresse email trouvée') . " $dest_qcode 
$dest_name $dest_mail";
     }



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]