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

SF.net SVN: ledger-smb:[3603] trunk/LedgerSMB/Form.pm



Revision: 3603
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3603&view=rev
Author:   ehuelsmann
Date:     2011-07-30 17:47:32 +0000 (Sat, 30 Jul 2011)

Log Message:
-----------
Fix bug 3382910: e-mail addresses improperly concatenated.

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2011-07-30 17:35:39 UTC (rev 3602)
+++ trunk/LedgerSMB/Form.pm	2011-07-30 17:47:32 UTC (rev 3603)
@@ -2485,7 +2485,7 @@
 
 	    # If there's an explicit billing email, don't use
 	    # the standard email addresses; otherwise fall back to standard
-	    $self->{$ctype} .= "$ref->{contact} "
+	    $self->{$ctype} .= ($self->{$ctype} ? ", " : "") . $ref->{contact}
 		if (($ref->{class_id} < 15 && ! $billing_email)
 		    || $ref->{class_id} >= 15);
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.