From e909153860311d78b888fd36e6ff49997eee340c Mon Sep 17 00:00:00 2001 From: Thibaud Guillot Date: Fri, 28 Mar 2025 15:17:18 +0100 Subject: [PATCH] Bug 13870: Add warns even if edition / deletion is requested from the bibliodetails table --- tools/batchMod.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 3ea19b52cc..9242c79593 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -233,7 +233,7 @@ if ( $op eq "cud-show" || $op eq "show" ) { @notfounditemnumbers = grep { !exists $itemdata{$_} } @contentlist; } } else { - if ( defined $biblionumber && !@itemnumbers ) { + if ( defined $biblionumber ) { my $biblio = Koha::Biblios->find($biblionumber); @itemnumbers = $biblio ? $biblio->items->get_column('itemnumber') : (); foreach my $itemnumber (@itemnumbers) { -- 2.30.2