From 0ea89f7d1873d79552b61bdc51e59f931f34dd85 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 12 Jun 2025 11:15:09 +0200 Subject: [PATCH] Bug 40119: (QA follow-up) Small additional comment Content-Type: text/plain; charset=utf-8 The reference to this bug report may be helpful to understand later why we did so. Signed-off-by: Marcel de Rooy --- C4/AuthoritiesMarc.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 4cbed9e95d..dfc0749861 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -1749,7 +1749,8 @@ sub merge { if ( exists $controlled_ind->{sub2} ) { # thesaurus info if ( defined $controlled_ind->{sub2} ) { - # Add or replace + # Add or replace when not empty. If empty, an existing + # $2 value is retained (see also bug 40119). if ( $controlled_ind->{sub2} ne q{} ) { $field_to->update( 2 => $controlled_ind->{sub2} ); } -- 2.39.5