https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41514 --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 204956 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204956&action=edit Bug 41514: (QA follow-up) Add explicit use Koha::CirculationRules to Koha::Booking _assign_item_for_booking() calls Koha::CirculationRules->get_effective_rules without the module being directly loaded. It currently works only because use Koha::Items transitively loads Koha::Item, which loads Koha::CirculationRules - a fragile, load-order-dependent dependency. Load it explicitly. Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.