[freeside-commits] branch FREESIDE_4_BRANCH updated. 01bb26c035338d6ff059bcba50f2bc2f387dffee
Ivan
ivan at 420.am
Thu Apr 27 17:22:11 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 01bb26c035338d6ff059bcba50f2bc2f387dffee (commit)
from 48357343374a94c4a02ad4ec2939b5061fa6567a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 01bb26c035338d6ff059bcba50f2bc2f387dffee
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Apr 27 17:22:10 2017 -0700
add condition on number of referred customers, RT#75356
diff --git a/FS/FS/part_event/Condition/referred_cust.pm b/FS/FS/part_event/Condition/referred_cust.pm
index 7555bde..7099e18 100644
--- a/FS/FS/part_event/Condition/referred_cust.pm
+++ b/FS/FS/part_event/Condition/referred_cust.pm
@@ -34,7 +34,7 @@ sub condition {
if ( keys %$if_pkg_class ) {
@referral_cust_main = grep {
my $cust = $_;
- grep $if_pkg_class{$_->part_pkg->classnum}, $cust->active_pkgs;
+ grep $if_pkg_class->{$_->part_pkg->classnum}, $cust->active_pkgs;
} @referral_cust_main;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_event/Condition/referred_cust.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list