From ce1554c9cbd7d97adeb8d55f23cdd18e12e6a623 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 7 Aug 2012 23:56:06 -0700 Subject: [PATCH] fix compilation error --- FS/FS/pay_batch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index e98cf5aeb..b8da9b49b 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -1083,7 +1083,7 @@ sub _upgrade_data { for my $format (keys %export_info) { my $mod = "FS::pay_batch::$format"; if ( $mod->can('_upgrade_gateway') - and exists( $conf->config("batchconfig-$format") ) ) { + and $conf->exists("batchconfig-$format") ) { local $@; my ($module, %gw_options) = $mod->_upgrade_gateway; -- 2.11.0