From 080754c6f8a6411eebff3dcdb26a428f7629633c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 22 Jul 2021 10:01:32 +0100 Subject: [PATCH] Bug 22690: (QA follow-up) Improve negation syntax --- Koha/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index fb177928ed..1732373680 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -1213,7 +1213,7 @@ sub move_to_biblio { $params //= {}; - return unless $self->biblionumber != $to_biblio->biblionumber; + return if $self->biblionumber == $to_biblio->biblionumber; my $from_biblionumber = $self->biblionumber; my $to_biblionumber = $to_biblio->biblionumber; -- 2.20.1