diff options
author | ivan <ivan> | 2008-08-25 20:33:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-25 20:33:58 +0000 |
commit | 2f0fcf49ddaac0758759ff92b8baf11bd098aefc (patch) | |
tree | cf355d52da3faca346cc23feab30b095d7458276 /FS | |
parent | 4783789db90ba00a0e57077464c689bd082ffb0f (diff) |
fix comparison from svcnum to svcpart
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_event/Condition/cust_bill_has_service.pm | 2 |
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 ; } |