From 1bde07fabf19b6948c3e4173d17b04db396e55bd Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Mon, 26 Feb 2018 12:00:12 -0500 Subject: RT# 79497 - Changed email address check to all emails to be seperated by a space. Added contacts to change history. --- httemplate/edit/process/cust_main.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'httemplate/edit/process/cust_main.cgi') 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 { -- cgit v1.2.1