X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Fcust_main.cgi;fp=httemplate%2Fedit%2Fprocess%2Fcust_main.cgi;h=ed285ca15e909abc68fde47a3f8d9a00134209f0;hb=66feacf4ed45aa7b27d48f91c0d8741f0ad9b9de;hp=088576fe292d7bb03741dc8b51dd1754d350a50e;hpb=ed2d4de2ea785d30a54fb069b29f9618a40113c9;p=freeside.git diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 088576fe2..ed285ca15 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -187,7 +187,10 @@ if ( $cgi->param('residential_commercial') eq 'Residential' ) { $error = 'Email address required'; } - $options{'invoicing_list'} = [ split(/\s*,\s*/, $email) ]; + #$email =~ s/\s+/\, /g; + #$options{'invoicing_list'} = [ split(/\s*,\s*/, $email) ]; + $options{'invoicing_list'} = [ split(/[,\s]+/, $email) ]; + #[:,\s\/]+ # XXX really should include the phone numbers in here also } else {