Bug 20811: (RM follow-up) fix check for matching
authorNick Clemens <nick@bywatersolutions.com>
Mon, 23 Jul 2018 12:23:07 +0000 (12:23 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 23 Jul 2018 15:08:56 +0000 (15:08 +0000)
Notice should only be triggered if both settings are false

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
misc/migration_tools/bulkmarcimport.pl

index 281e3c6..d820d3e 100755 (executable)
@@ -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";
 }