summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-01-22 00:21:31 +0000
committerivan <ivan>2004-01-22 00:21:31 +0000
commit8822f0b43841081a2903f1e50126c0b560dad78f (patch)
tree76e54b7815fd516d55b5b9b4cb53d92fe3fd410a
parentbc8f77fa5e272960603487498d0ba7d207bf91d9 (diff)
fix cancel method
-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 417937a24..986fef3a5 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -1000,7 +1000,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