diff options
Diffstat (limited to 'httemplate/elements/tr-select-cust_location.html')
| -rw-r--r-- | httemplate/elements/tr-select-cust_location.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index b62c65c03..5b023f165 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -118,7 +118,7 @@ Example: </SCRIPT> <TR> - <TH ALIGN="right">Service location</TH> + <TH ALIGN="right">Service location</TH> <TD COLSPAN=7> <SELECT NAME="locationnum" onChange="locationnum_changed(this);"> <OPTION VALUE="">(default service address) @@ -166,7 +166,7 @@ if ( $locationnum && $locationnum != -1 ) { or die "unknown locationnum"; } else { $cust_location = new FS::cust_location; - if ( $cgi->param('error') && $locationnum == -1 ) { + if ( $locationnum == -1 ) { $cust_location->$_( $cgi->param($_) ) foreach @location_fields; } else { $cust_location->$_( $cust_main->$_() ) foreach @location_fields; |
