diff --git a/lib/NGCP/Panel/Utils/DbStrings.pm b/lib/NGCP/Panel/Utils/DbStrings.pm index b620a94e06..b295842ce0 100644 --- a/lib/NGCP/Panel/Utils/DbStrings.pm +++ b/lib/NGCP/Panel/Utils/DbStrings.pm @@ -4,7 +4,7 @@ use warnings; use strict; sub localize { - my $c; + my $c = shift; $c->loc('Lock Level'); $c->loc('See "lock_voip_account_subscriber" for a list of possible values. A lock value of "none" will not be returned to the caller. Read-only setting.'); @@ -196,7 +196,7 @@ sub localize { } sub form_strings { - my $c; + my $c = shift; #NGCP::Panel::Form::BillingFee #NGCP::Panel::Form::BillingFeeUpload diff --git a/script/ngcp_panel_dump_db_strings.pl b/script/ngcp_panel_dump_db_strings.pl index 7485056b3d..acb4ea74b8 100755 --- a/script/ngcp_panel_dump_db_strings.pl +++ b/script/ngcp_panel_dump_db_strings.pl @@ -24,7 +24,7 @@ use warnings; use strict; sub localize { - my $c; + my $c = shift; HEADER_END