From: ivan Date: Thu, 19 Sep 2002 08:34:41 +0000 (+0000) Subject: remove extra definition of $cust_pkg X-Git-Tag: freeside_1_5_0pre1~237 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=cf730711a39c28c720d475cc9e3a94d712c2b798 remove extra definition of $cust_pkg --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 420c6f422..991bbef48 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -340,8 +340,6 @@ sub insert { my $cust_pkg = $self->cust_svc->cust_pkg; my $cust_main = $cust_pkg->cust_main; - my $cust_pkg = $self->cust_svc->cust_pkg; - if ( $conf->exists('emailinvoiceauto') ) { my @invoicing_list = $cust_main->invoicing_list; push @invoicing_list, $self->email;