[freeside-commits] branch master updated. 1b1ee833bfd15a9bcab5ad7bd4b5190b45dc0954
Ivan
ivan at 420.am
Thu Apr 27 17:22:10 PDT 2017
The branch, master has been updated
via 1b1ee833bfd15a9bcab5ad7bd4b5190b45dc0954 (commit)
from 8d34fe53ba6c0aaf78cd20e9b5e276cf7d77ca12 (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 1b1ee833bfd15a9bcab5ad7bd4b5190b45dc0954
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Apr 27 17:22:09 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