projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383170a
)
YA otaker upgrade kludge for old datasets: cust_pay.payby COMP
author
ivan
<ivan>
Sat, 18 Sep 2010 08:14:21 +0000
(08:14 +0000)
committer
ivan
<ivan>
Sat, 18 Sep 2010 08:14:21 +0000
(08:14 +0000)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
388aef7
..
186614f
100644
(file)
--- a/
FS/FS/cust_pay.pm
+++ b/
FS/FS/cust_pay.pm
@@
-798,7
+798,9
@@
sub _upgrade_data { #class method
# otaker->usernum upgrade
###
+ delete $FS::payby::hash{'COMP'}->{cust_pay}; #quelle kludge
$class->_upgrade_otaker(%opts);
+ $FS::payby::hash{'COMP'}->{cust_pay} = ''; #restore it
}