From 0ee91c25cee9592e176d47c369c43cd1d0c9ff6e 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 --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index c69915896f..940d66e6c5 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.30.2