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
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev