From b15dc70c36754d34eadfca69484efd22a99963a2 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Wed, 8 Feb 2017 20:45:51 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 17913: [16.11.x] followup Signed-off-by: Josef Moravec --- C4/AuthoritiesMarc.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 2356ae9..34d498f 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -1459,10 +1459,10 @@ sub merge { # Get All candidate Tags for the change # (This will reduce the search scope in marc records). my $sql = "SELECT DISTINCT tagfield FROM marc_subfield_structure WHERE authtypecode=?"; - my $tags_using_authtype = $dbh->selectcol_arrayref( $sql, undef, ( $authtypecodefrom )); + my $tags_using_authtype = $dbh->selectcol_arrayref( $sql, undef, ( $authtypefrom->authtypecode )); my $tags_new; - if ($authtypecodeto ne $authtypecodefrom){ - $tags_new = $dbh->selectcol_arrayref( $sql, undef, ( $authtypecodeto )); + if ($authtypeto->authtypecode ne $authtypefrom->authtypecode){ + $tags_new = $dbh->selectcol_arrayref( $sql, undef, ( $authtypeto->authtypecode )); } # BulkEdit marc records # May be used as a template for a bulkedit field -- 2.1.4