From bb3aa30da5b7a2033597b74842b766474f61aeee Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 26 Feb 2026 17:36:47 +0000 Subject: [PATCH] Bug 41880: Keep original copy of hold for proper logging --- Koha/Hold.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index d886f7d8b55..f4b1b88cf3c 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -188,10 +188,10 @@ $hold->move_hold(); sub move_hold { my ( $self, $args ) = @_; - my $original = $self; + my $original = $self->unblessed; my $original_biblionumber = $self->biblionumber; - my $found = $original->found // ''; + my $found = $self->found // ''; if ( $found eq 'W' ) { return { success => 0, error => 'Cannot move a waiting hold' }; -- 2.39.5