]> git.koha-community.org Git - koha.git/commit
Bug 19097: Remove wantarray from GetMarcFromKohaField
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 30 Oct 2023 14:11:17 +0000 (14:11 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 29 Apr 2024 07:35:46 +0000 (09:35 +0200)
commit7fc5e472512234007a465141cba8b50c9c92f494
treeac8e837c84fe695837c33e944531a1be4cc4f3d1
parentd24ec0e26de5c9c58c0be566ecdea061577edfee
Bug 19097: Remove wantarray from GetMarcFromKohaField

The routine should be called in list context now.
Warns also about use of obsoleted framework parameter. This
is the case for several years already btw. But may help us
catch a forgotten occurrence? Can be removed later.

In a follow-up we will check for second parameters and
we will update calls in scalar context.

Test plan:
Prove t/db_dependent/Biblio.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
C4/Biblio.pm
t/db_dependent/Biblio.t