diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-02-26 12:00:12 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-02-26 12:00:12 -0500 |
commit | 66feacf4ed45aa7b27d48f91c0d8741f0ad9b9de (patch) | |
tree | 26f831e81f685e7da511a0715a941a4dd8646ee6 /httemplate/edit | |
parent | ed2d4de2ea785d30a54fb069b29f9618a40113c9 (diff) |
RT# 79497 - Changed email address check to all emails to be seperated by a space. Added contacts to change history.
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 5 |
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 { |