diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-02-26 12:00:12 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-02-26 15:02:31 -0500 |
commit | 1bde07fabf19b6948c3e4173d17b04db396e55bd (patch) | |
tree | 96ed910ac668bb13a402b95eaa4cd939bb4ee476 /httemplate/edit/process | |
parent | c46aa55bdeb3e09437c7ab18288f209a6fa44796 (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/process')
-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 { |