summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Condition')
-rw-r--r--FS/FS/part_event/Condition/cust_bill_has_service.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/cust_bill_has_service.pm b/FS/FS/part_event/Condition/cust_bill_has_service.pm
index be7ea2b02..7e63e0e6d 100644
--- a/FS/FS/part_event/Condition/cust_bill_has_service.pm
+++ b/FS/FS/part_event/Condition/cust_bill_has_service.pm
@@ -32,7 +32,7 @@ sub condition {
my($self, $cust_bill) = @_;
my $servicenum = $self->option('has_service');
- grep { $servicenum == $_->svcnum }
+ grep { $servicenum == $_->svcpart }
map { $_->cust_pkg->cust_svc }
$cust_bill->cust_bill_pkg ;
}