From 59c69d2c108e01b3e824fcfe92b08d1b376e108b Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Fri, 27 Jun 2014 16:51:14 +0200 Subject: [PATCH] MT#7771 rename pbx_account_cli_list Use cloud_pbx_account_cli_list instead. --- lib/NGCP/Panel/Utils/Subscriber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Utils/Subscriber.pm b/lib/NGCP/Panel/Utils/Subscriber.pm index 0f23b930e5..f00832c57d 100644 --- a/lib/NGCP/Panel/Utils/Subscriber.pm +++ b/lib/NGCP/Panel/Utils/Subscriber.pm @@ -873,7 +873,7 @@ sub apply_rewrite { @avps = keys %{{ map { $_ => 1 } @avps }}; for my $avp(@avps) { if(!exists $cache->{$avp}) { - if($avp eq "pbx_account_cli_list") { + if($avp eq "cloud_pbx_account_cli_list") { $cache->{$avp} = []; foreach my $sub($subscriber->contract->voip_subscribers->all) { foreach my $num($sub->voip_numbers->search({ status => 'active' })->all) {