X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county-expand.cgi;h=265dd1dabb9e4897e43ae1476d2e4a9613d2735f;hb=67d171a04ecbccbfd7d5fc2f1be2810299008c15;hp=d5297ab0ae8ee241bca8ce2ea97ed17cf6d46a2d;hpb=5e05724a635a22776f1b973f5d7e77989da4e048;p=freeside.git diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi index d5297ab0a..265dd1dab 100755 --- a/httemplate/edit/cust_main_county-expand.cgi +++ b/httemplate/edit/cust_main_county-expand.cgi @@ -37,9 +37,11 @@ my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum}) my $title; -die "Can't expand entry!" if $cust_main_county->county; +die "Can't expand entry!" if $cust_main_county->city; -if ( $cust_main_county->state ) { +if ( $cust_main_county->county ) { + $title = 'Cities'; +} elsif ( $cust_main_county->state ) { $title = 'Counties'; } else { $title = 'States/Provinces';