diff options
| author | ivan <ivan> | 2002-12-21 10:14:48 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2002-12-21 10:14:48 +0000 | 
| commit | cbb506ec10170d3f77d618596ca8cd25d08b2bd2 (patch) | |
| tree | b64b990a5baa6d515a95d7bdb4fd87732a90bdd0 | |
| parent | 3ed2aae6b3e6b303b4058f9cd6e54ea377196b0a (diff) | |
could be multiple returns from these searches, with taxclasses
| -rw-r--r-- | FS/FS/cust_main.pm | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 890371de7..1727c4b94 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -591,13 +591,13 @@ sub check {  # bad idea to disable, causes billing to fail because of no tax rates later  #  unless ( $import ) { -    unless ( qsearchs('cust_main_county', { +    unless ( qsearch('cust_main_county', {        'country' => $self->country,        'state'   => '',       } ) ) {        return "Unknown state/county/country: ".          $self->state. "/". $self->county. "/". $self->country -        unless qsearchs('cust_main_county',{ +        unless qsearch('cust_main_county',{            'state'   => $self->state,            'county'  => $self->county,            'country' => $self->country,  | 
