Bug 29182: (follow-up) Simplify Koha::ArticleRequest->store

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomas Cohen Arazi 2021-10-06 09:10:38 -03:00 committed by Jonathan Druart
parent 707e68b7fc
commit c9285e1072
1 changed files with 4 additions and 4 deletions

View File

@ -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