summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition
diff options
context:
space:
mode:
authorivan <ivan>2008-08-25 20:33:58 +0000
committerivan <ivan>2008-08-25 20:33:58 +0000
commit2f0fcf49ddaac0758759ff92b8baf11bd098aefc (patch)
treecf355d52da3faca346cc23feab30b095d7458276 /FS/FS/part_event/Condition
parent4783789db90ba00a0e57077464c689bd082ffb0f (diff)
fix comparison from svcnum to svcpart
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 be7ea2b..7e63e0e 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 ;
}