From fe341ea4d2e7f1dd176bb27daaf1e69d29e327d6 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 23 Jul 2018 12:23:07 +0000 Subject: [PATCH] Bug 20811: (RM follow-up) fix check for matching Notice should only be triggered if both settings are false Signed-off-by: Nick Clemens (cherry picked from commit 12b505f2b797d77e800a17830f71a9c054cd076b) Signed-off-by: Martin Renvoize (cherry picked from commit b1a07f712c23e62c830117d4c0ca1390044dc25c) Signed-off-by: Fridolin Somers --- misc/migration_tools/bulkmarcimport.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index 281e3c6955..d820d3e991 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -100,7 +100,7 @@ if ($version || ($input_marc_file eq '')) { pod2usage( -verbose => 2 ); exit; } -if( $update && ( !$match || $isbn_check ) ) { +if( $update && !( $match || $isbn_check ) ) { warn "Using -update without -match or -isbn seems to be useless.\n"; } -- 2.39.5