summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-11-04 18:01:28 +0000
committerivan <ivan>2003-11-04 18:01:28 +0000
commitc9598f8e42c8e689084a0f272dfaf1b7327f0bfe (patch)
treed43a5d71bc3594f30b75081148173189f4d667ca
parente99bf710db502f6a750b789beaea429f544a1b4a (diff)
don't overwrite otaker on cust_main!
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 831022bef..ebc4812ab 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -789,7 +789,7 @@ sub check {
$self->tax =~ /^(Y?)$/ or return "Illegal tax: ". $self->tax;
$self->tax($1);
- $self->otaker(getotaker);
+ $self->otaker(getotaker) unless $self->otaker;
#warn "AFTER: \n". $self->_dump;