[freeside-commits] branch FREESIDE_3_BRANCH updated. e51c6fef1d3ae307c14c1c488f167d9eae2a93a7
Ivan
ivan at 420.am
Thu Apr 27 17:22:13 PDT 2017
The branch, FREESIDE_3_BRANCH has been updated
via e51c6fef1d3ae307c14c1c488f167d9eae2a93a7 (commit)
from adc8618023c553aaa81bdd7acd25dc86d8867eb4 (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 e51c6fef1d3ae307c14c1c488f167d9eae2a93a7
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Apr 27 17:22:12 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