reconcile invoice destination contacts with multiple-customer contacts, #25536 and...
[freeside.git] / httemplate / edit / process / cust_main.cgi
index 747de20..d590fde 100755 (executable)
@@ -165,7 +165,7 @@ if ( $cgi->param('residential_commercial') eq 'Residential' ) {
     $error = 'Email address required';
   }
 
-  $options{'invoicing_list'} = [ $email ];
+  $options{'invoicing_list'} = [ split(/\s*,\s*/, $email) ];
   # XXX really should include the phone numbers in here also
 
 } else {