https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21738
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |[email protected] --- Comment #8 from Marcel de Rooy <[email protected]> --- return { code => 'NotHoldable' } unless CanBookBeReserved( $borrowernumber, $biblionumber )->{status} eq 'OK'; This line just needs attention imo. If there are no items, you may get back an undef. So just check that. And do not assume you have a hash. No need to duplicate the hostitems stuff at all? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
