Koha-clms/catalogue
Marcel de Rooy 40d1cdeeb1
Bug 40559: Fix noisy warning in MARCdetail
Rebased for 25.06.
Resolves:
    Use of uninitialized value in string eq at /usr/share/koha/catalogue/MARCdetail.pl line 203.

Test plan:
Make sure that there is a combination of framework/field/subfield having
an entry in marc_subfield_structure where kohafield is NULL.
To force this for default fw on 020$q:
    update marc_subfield_structure
    set kohafield=NULL
    where tagfield='020' and tagsubfield='q' and frameworkcode='';
Pick a biblio in this framework having that field/subfield. Or create
a 020 with $q filled. Hit catalogue/MARCdetail now.
Without this patch, it triggers the warn. With this patch, it does not.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-10-31 15:26:21 -06:00
..
ISBDdetail.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
MARCdetail.pl Bug 40559: Fix noisy warning in MARCdetail 2025-10-31 15:26:21 -06:00
detail.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
export.pl Bug 39485: Fix wide character in print-warn in opac-export 2025-04-23 09:35:13 +02:00
getitem-ajax.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
image.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
imageviewer.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
issuehistory.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
item-export.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
itemsearch.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
labeledMARCdetail.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
moredetail.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
search-history.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
search.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
showelastic.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
showmarc.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
stockrotation.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
updateitem.pl Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00