From e47f9d6b1614cfbacb743fe974ace7eff682c4ba 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 (cherry picked from commit fe341ea4d2e7f1dd176bb27daaf1e69d29e327d6) 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 6231df3d0a..e0ca7d3c0a 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -95,7 +95,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