diff options
author | ivan <ivan> | 2004-01-23 03:01:22 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-01-23 03:01:22 +0000 |
commit | 24eb823f02d7681b052261dd321b3505ac970e61 (patch) | |
tree | b82251dcbfa5c3640a1fd9fd2d5eeca77deb6b12 /httemplate | |
parent | 85be0d954dbe4a2c86841a37dc6a4df690dd5142 (diff) |
and the same for ship_
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index bfe4a2d4f..857e769a3 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -291,8 +291,9 @@ END #false laziness with regular state $cust_main->ship_country( $countrydefault ) unless $cust_main->ship_country; - $cust_main->ship_state( $conf->config('statedefault') || 'CA' ) - unless $cust_main->ship_state || $cust_main->ship_country ne 'US'; + $cust_main->ship_state( $statedefault ) + unless $cust_main->ship_state + || $cust_main->ship_country ne $countrydefault; my($ship_county_html, $ship_state_html, $ship_country_html) = FS::cust_main_county::regionselector( $cust_main->ship_county, |