From 1180f9a618b766654ef11faccf34f647b7bb4e3e Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 27 Jul 2010 07:08:26 +0000 Subject: [PATCH] fix fallout with original API usage, oops, RT#9334 --- FS/FS/Maestro.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/Maestro.pm b/FS/FS/Maestro.pm index 2061f28f1..05693681d 100644 --- a/FS/FS/Maestro.pm +++ b/FS/FS/Maestro.pm @@ -106,7 +106,7 @@ sub customer_status { my $conf = new FS::Conf; my %outbound_pkgs = map { $_=>1 } $conf->config('mc-outbound_packages'); - my $outbound_service = + $outbound_service = scalar( grep { $outbound_pkgs{ $_->pkgpart } && !$_->get('cancel') } @@ -120,7 +120,7 @@ sub customer_status { sort { $a->bill <=> $b->bill } grep { !$_->get('cancel') && $_->part_pkg->freq ne '0' } @cust_pkg; - my $good_till = time2str('%c', $active_cust_pkg[0]->bill || time ); + $good_till = time2str('%c', $active_cust_pkg[0]->bill || time ); } -- 2.11.0