From fe8bc587f6f78600b7aecc0b7efd75306e9a2e12 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Nov 2018 17:58:14 -0300 Subject: [PATCH] Bug 15774: Remove unecessary returned value for ->delete Signed-off-by: Jonathan Druart Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- Koha/Object/Mixin/AdditionalFields.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Object/Mixin/AdditionalFields.pm b/Koha/Object/Mixin/AdditionalFields.pm index 6dcfdf7353..0ee9bd9143 100644 --- a/Koha/Object/Mixin/AdditionalFields.pm +++ b/Koha/Object/Mixin/AdditionalFields.pm @@ -44,7 +44,7 @@ Koha::Object::Mixin::AdditionalFields sub set_additional_fields { my ($self, $additional_fields) = @_; - my @additional_field_values = $self->additional_field_values->delete; + $self->additional_field_values->delete; foreach my $additional_field (@$additional_fields) { my $value = $additional_field->{value}; -- 2.39.5