X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FUpgrade.pm;h=a374d391d1152ee0fd93922770446c9c5302b37d;hp=aa0498e49392b0fd90e6470f81698a3a7cab9f8a;hb=1efab29ccbb2aa15bcb94f1cb46069f32dcabf9f;hpb=022b6591c328532097d3cbbc2374d6b7d8221a4b diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index aa0498e49..a374d391d 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -170,6 +170,14 @@ If you need to continue using the old Form 477 report, turn on the $conf->delete('unsuspendauto'); } + if ($conf->config('cust-fields') =~ / \| Payment Type/) { + my $cust_fields = $conf->config('cust-fields'); + # so we can potentially use 'Payment Types' or somesuch in the future + $cust_fields =~ s/ \| Payment Type( \|)/$1/; + $cust_fields =~ s/ \| Payment Type$//; + $conf->set('cust-fields',$cust_fields); + } + enable_banned_pay_pad() unless length($conf->config('banned_pay-pad')); }