diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/name.html | 2 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index 12d9d7405..20258897d 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -37,7 +37,7 @@ : 'label' %>">Email address(es)</SPAN> </TH> <TD> - <INPUT TYPE="text" NAME="invoice_email" ID="invoice_email_input" + <INPUT TYPE="text" NAME="invoice_email" ID="invoice_email_input" SIZE=40 VALUE="<% $cust_main->invoicing_list_emailonly_scalar %>"> </TD> </TR> diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 747de201a..d590fdef0 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -165,7 +165,7 @@ if ( $cgi->param('residential_commercial') eq 'Residential' ) { $error = 'Email address required'; } - $options{'invoicing_list'} = [ $email ]; + $options{'invoicing_list'} = [ split(/\s*,\s*/, $email) ]; # XXX really should include the phone numbers in here also } else { |