https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35989 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #5 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- This fixes the immediate issue, however, the variables: $subfields_to_report $subfields_to_subdivision are both being used oddly - they are initialized, but then repeatedly used in loops of different field types (4xx, 7xx, 8xx) without being cleared or reset. If you add a 751 field before the 781 before applying the patch, the problem disappears Also, you can then note the 781 field is repeated I also tested by simply initializing $subfields_to_subdivision as undef rather then "" and the error disappears. I think we need to look deeper and clean a bit more here -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.