projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87465e8
)
make sure that in the case where there's no uncancelled active packages, the filter...
author
ivan
<ivan>
Thu, 22 Oct 2009 19:56:23 +0000
(19:56 +0000)
committer
ivan
<ivan>
Thu, 22 Oct 2009 19:56:23 +0000
(19:56 +0000)
FS/FS/ClientAPI/MasonComponent.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MasonComponent.pm
b/FS/FS/ClientAPI/MasonComponent.pm
index
e98e8dc
..
76d406c
100644
(file)
--- a/
FS/FS/ClientAPI/MasonComponent.pm
+++ b/
FS/FS/ClientAPI/MasonComponent.pm
@@
-67,7
+67,7
@@
my %session_callbacks = (
map { $_->part_pkg }
$cust_main->ncancelled_pkgs;
- unless ( $classnum{''} ) {
+ unless ( $classnum{''}
|| ! keys %classnum
) {
@part_pkg = grep $classnum{ $_->classnum }, @part_pkg;
}
}