From be745a55d99ee2687a43d1368071782f266e5536 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 27 Nov 2023 14:31:30 +0000 Subject: [PATCH] Bug 35107: (QA follow-up) Use extended_attributes Addressing the warning: illrequestattributes is DEPRECATED in favor of extended_attributes No functional behaviour change here Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index b6413113bc..9dfe275eff 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -1113,7 +1113,7 @@ Return the value submitted in the type disclaimer workflow stage sub get_type_disclaimer_value { my ($self) = @_; - my $attr = $self->illrequestattributes->find( { type => 'type_disclaimer_value' } ); + my $attr = $self->extended_attributes->find( { type => 'type_disclaimer_value' } ); return if !$attr; return $attr->value; } @@ -1128,7 +1128,7 @@ Return the time the disclaimer was submitted in the type disclaimer workflow sta sub get_type_disclaimer_date { my ($self) = @_; - my $attr = $self->illrequestattributes->find( { type => 'type_disclaimer_date' } ); + my $attr = $self->extended_attributes->find( { type => 'type_disclaimer_date' } ); return if !$attr; return $attr->value; } -- 2.39.5