fix compilation error
authorIvan Kohler <ivan@freeside.biz>
Wed, 8 Aug 2012 06:56:06 +0000 (23:56 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 8 Aug 2012 06:56:06 +0000 (23:56 -0700)
FS/FS/pay_batch.pm

index e98cf5a..b8da9b4 100644 (file)
@@ -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;