prevent edge-case business-onlinepayment mod_perl leakage in multi-database
authorivan <ivan>
Sat, 28 Dec 2002 09:16:48 +0000 (09:16 +0000)
committerivan <ivan>
Sat, 28 Dec 2002 09:16:48 +0000 (09:16 +0000)
installs.  ugh.

FS/FS/cust_bill.pm
FS/FS/svc_acct.pm

index 980ec4e..afde433 100644 (file)
@@ -37,6 +37,11 @@ $FS::UID::callback{'FS::cust_bill'} = sub {
   $invoice_from = $conf->config('invoice_from');
   $smtpmachine = $conf->config('smtpmachine');
 
+  ( $bop_processor,$bop_login, $bop_password, $bop_action ) = ( '', '', '', '');
+  @bop_options = ();
+  ( $ach_processor,$ach_login, $ach_password, $ach_action ) = ( '', '', '', '');
+  @ach_options = ();
+
   if ( $conf->exists('cybercash3.2') ) {
     require CCMckLib3_2;
       #qw($MCKversion %Config InitConfig CCError CCDebug CCDebug2);
@@ -1213,7 +1218,7 @@ sub print_text {
 
 =head1 VERSION
 
-$Id: cust_bill.pm,v 1.41.2.18 2002-12-23 15:22:46 ivan Exp $
+$Id: cust_bill.pm,v 1.41.2.19 2002-12-28 09:16:47 ivan Exp $
 
 =head1 BUGS
 
index 39e516b..f7a0665 100644 (file)
@@ -66,6 +66,9 @@ $FS::UID::callback{'FS::svc_acct'} = sub {
     $welcome_mimetype = $conf->config('welcome_email-mimetype') || 'text/plain';
   } else {
     $welcome_template = '';
+    $welcome_from = '';
+    $welcome_subject = '';
+    $welcome_mimetype = '';
   }
   $smtpmachine = $conf->config('smtpmachine');
   $radius_password = $conf->config('radius-password') || 'Password';