diff options
author | ivan <ivan> | 2002-12-21 10:14:46 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-12-21 10:14:46 +0000 |
commit | dd162c2549b17c02460bac327b5f1fbe44524a18 (patch) | |
tree | 896b93528ccee3880a87b06d44fd6e527af8923a | |
parent | ffc7e8567d9bfb6c695dc36cd0257e61c0268b74 (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 fdb06200a..0f6d8c5bd 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -589,13 +589,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, |