diff --git a/lib/NGCP/Panel/Role/API/Subscribers.pm b/lib/NGCP/Panel/Role/API/Subscribers.pm index ae6a49610b..b23ee197fc 100644 --- a/lib/NGCP/Panel/Role/API/Subscribers.pm +++ b/lib/NGCP/Panel/Role/API/Subscribers.pm @@ -130,6 +130,8 @@ sub resource_from_item { if($pref->first and length($pref->first->value) > 0) { #cast to Numeric accordingly to the form field type and customer note in the ticket #10313 $resource{lock} = $pref->first->value; + }else{ + $resource{lock} = undef; } } else { # fields we never want to see