summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2004-01-22 00:21:25 +0000
committerivan <ivan>2004-01-22 00:21:25 +0000
commit30a64bab3009967a4c530c44c49df2ab4681fef1 (patch)
tree57f24db0e52c711dcd4a457ecfc1300ee1107363 /FS
parent9163d831264988af6065139c7531d59a1bb29c10 (diff)
fix cancel method
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 86962ce61..6ca32871d 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1016,7 +1016,7 @@ Always returns a list: an empty list on success or a list of errors.
sub cancel {
my $self = shift;
- grep { $_->cancel(@_) } $self->ncancelled_pkgs;
+ grep { $_ } map { $_->cancel(@_) } $self->ncancelled_pkgs;
}
=item agent