From ce4277b540cba362a1bcb05c39f35e88129d5642 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 6 Oct 2021 09:10:38 -0300 Subject: [PATCH] Bug 29182: (follow-up) Simplify Koha::ArticleRequest->store Signed-off-by: Tomas Cohen Arazi --- Koha/ArticleRequest.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Koha/ArticleRequest.pm b/Koha/ArticleRequest.pm index 2d7f5596da..be4a895e2e 100644 --- a/Koha/ArticleRequest.pm +++ b/Koha/ArticleRequest.pm @@ -200,12 +200,12 @@ will have notifications sent. sub store { my ($self) = @_; - if ( $self->in_storage ) { - return $self->SUPER::store; - } else { + + if ( !$self->in_storage ) { $self->created_on( dt_from_string() ); - return $self->SUPER::store; } + + return $self->SUPER::store; } =head2 Internal methods -- 2.32.0