From 0e830d9b66813e181d89c563dd3f32cd3008e158 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy --- 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.20.1