summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-02-26 12:00:12 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-02-26 15:02:31 -0500
commit1bde07fabf19b6948c3e4173d17b04db396e55bd (patch)
tree96ed910ac668bb13a402b95eaa4cd939bb4ee476 /httemplate/edit/process
parentc46aa55bdeb3e09437c7ab18288f209a6fa44796 (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-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 {