summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-09-16 08:18:31 +0000
committerivan <ivan>2005-09-16 08:18:31 +0000
commit0cc86c6db73cee2f236b220636305150c797597f (patch)
tree5d0437f528e109d63c69a14cfc693e10b128be16
parentcbcbbfe12075ea9cea726735e3ba77e68e8a0a76 (diff)
with taxclasses, might have multiple records for a state/county/country
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index bbe01bda6..733a242c9 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1035,7 +1035,7 @@ sub check {
} ) ) {
return "Unknown state/county/country: ".
$self->state. "/". $self->county. "/". $self->country
- unless qsearch('cust_main_county',{
+ unless qsearc('cust_main_county',{
'state' => $self->state,
'county' => $self->county,
'country' => $self->country,
@@ -1082,7 +1082,7 @@ sub check {
} ) ) {
return "Unknown ship_state/ship_county/ship_country: ".
$self->ship_state. "/". $self->ship_county. "/". $self->ship_country
- unless qsearchs('cust_main_county',{
+ unless qsearch('cust_main_county',{
'state' => $self->ship_state,
'county' => $self->ship_county,
'country' => $self->ship_country,