summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-04-27 17:22:12 -0700
committerIvan Kohler <ivan@freeside.biz>2017-04-27 17:22:12 -0700
commite51c6fef1d3ae307c14c1c488f167d9eae2a93a7 (patch)
treec039eda2aae231782e501885fc885c21d5938142 /FS
parentadc8618023c553aaa81bdd7acd25dc86d8867eb4 (diff)
add condition on number of referred customers, RT#75356
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_event/Condition/referred_cust.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/referred_cust.pm b/FS/FS/part_event/Condition/referred_cust.pm
index 7555bdeb9..7099e184a 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;
}