From e0093aa9840234ddea14f43d7db5e35ccae1eb5d Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 18 Sep 2010 08:14:21 +0000 Subject: [PATCH] YA otaker upgrade kludge for old datasets: cust_pay.payby COMP --- FS/FS/cust_pay.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 388aef79b..186614f5b 100644 --- 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 } -- 2.11.0