Bug 40119: (QA follow-up) Small additional comment
The reference to this bug report may be helpful to understand later why we did so. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit01526ef545) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commit4efb86aec8) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
31922cb5cf
commit
4077d3f156
|
|
@ -1645,7 +1645,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} );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue