https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19097
Martin Renvoize <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158246|0 |1 is obsolete| | --- Comment #20 from Martin Renvoize <[email protected]> --- Created attachment 165103 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165103&action=edit Bug 19097: Remove wantarray from GetMarcSubfieldStructureFromKohaField Replacing wantarray by always returning all mappings. In a few cases only we expect multiple ones. Changing two calls to pick the first hit, and add comment about the implicit assumption being made (as before, no behavior change). Test plan: Look at results of git grep GetMarcSubfieldStructureFromKohaField Run t/db_dependent/Biblio.t Signed-off-by: Marcel de Rooy <[email protected]> Signed-off-by: Nick Clemens <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
