From b0f8738e17758e071dd65b9d6574535d66595673 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 28 Nov 2005 16:07:30 +0000 Subject: [PATCH] fix small bug in radiator export --- FS/FS/part_export/radiator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_export/radiator.pm b/FS/FS/part_export/radiator.pm index 869c033ed..7fa948593 100644 --- a/FS/FS/part_export/radiator.pm +++ b/FS/FS/part_export/radiator.pm @@ -81,7 +81,7 @@ sub _radiator_hash { $hash{'servicename'} = ( $svc_acct->radius_groups )[0]; - my $cust_pkg = $self->cust_svc->cust_pkg; + my $cust_pkg = $svc_acct->cust_svc->cust_pkg; $hash{validto} = $cust_pkg->bill if $cust_pkg && $cust_pkg->part_pkg->is_prepaid && $cust_pkg->bill; -- 2.11.0