From 03b28a3f7251a0e14de77575ea0a99d353006f8b Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Wed, 31 Jul 2024 11:33:45 +0200 Subject: [PATCH] MT#60558 fix max_pbx_groups $c argument typo Change-Id: Id0c4d2078c98d20d236851e977439959624d1491 (cherry picked from commit c4c710e7dc099c606ca132068b6e22389a1c1c81) --- 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 4175d5f9c1..dc51461951 100644 --- a/lib/NGCP/Panel/Utils/Subscriber.pm +++ b/lib/NGCP/Panel/Utils/Subscriber.pm @@ -392,7 +392,7 @@ sub prepare_resource { my $current_pbx_groups_count = $c->license_current_pbx_groups; if (is_true($resource->{is_pbx_group}) && $license_max_pbx_groups >= 0 && $current_pbx_groups_count >= $license_max_pbx_groups) { - &{$err_code}($c, HTTP_FORBIDDEN, + &{$err_code}(HTTP_FORBIDDEN, "Maximum number of PBX groups for this platform is reached", "Exceeded max number of license pbx groups: $license_max_pbx_groups current: $current_pbx_groups_count" );