summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2003-11-04 18:01:18 +0000
committerivan <ivan>2003-11-04 18:01:18 +0000
commitc44e20f5c73abae61a15a415b4393ecd38297c65 (patch)
treebc8c6d6c4d8b79ecd7794f6f6aad93806cb975d5
parentb375da4f34a65409d2e657c12e434c279c3199dc (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 1d2e9edcd..2c89bb065 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -872,7 +872,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;