From be69c8fa0fddbb935e525950dd1e20f9b9470d7d Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Thu, 11 Dec 2025 09:47:59 +0100 Subject: [PATCH] MT#64067 fix subscriberpreferences PUT update_item * PUT update_item is fixed to properly expect 3 values Change-Id: Id63445f76ffbc312aadafc7b502fffd070eb0089 (cherry picked from commit 56b15e8197ce534c27b8c1a4d14ff03d22abf802) --- lib/NGCP/Panel/Controller/API/SubscriberPreferencesItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Controller/API/SubscriberPreferencesItem.pm b/lib/NGCP/Panel/Controller/API/SubscriberPreferencesItem.pm index 2389b03f24..a73ae6d3d7 100644 --- a/lib/NGCP/Panel/Controller/API/SubscriberPreferencesItem.pm +++ b/lib/NGCP/Panel/Controller/API/SubscriberPreferencesItem.pm @@ -184,7 +184,7 @@ sub PUT :Allow { # last param is "replace" to delete all existing prefs # for proper PUT behavior my $process_extras; - $subscriber = $self->update_item($c, $subscriber, $old_resource, $resource, undef, $process_extras); + ($subscriber, undef, $process_extras) = $self->update_item($c, $subscriber, $old_resource, $resource, undef, $process_extras); goto TX_START if $process_extras->{retry_tx}; last unless $subscriber;