summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi5
1 files changed, 4 insertions, 1 deletions
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 {