Bug 20811: (RM follow-up) fix check for matching

Notice should only be triggered if both settings are false

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 12b505f2b7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b1a07f712c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2018-07-23 12:23:07 +00:00 committed by Fridolin Somers
parent c71253eb2e
commit fe341ea4d2
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}