From ccc2548ecc1c63e48213ee17b0ba3dbce803df06 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 c73a298f54..13bf032b4b 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -1212,7 +1212,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