https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35612
--- Comment #43 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 192520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192520&action=edit Bug 35612: (QA follow-up) Use interface parameter and remove self-referential use This patch fixes two issues: 1. C4::Accounts::chargelostitem now properly uses the $interface variable that was set from $opts->{interface} instead of calling C4::Context->interface directly. This ensures the interface parameter is honored, particularly important for cronjob context. 2. Removes the self-referential 'use Koha::Checkout;' statement in Koha/Checkout.pm which is logically incorrect (a module should not use itself). Test plan: 1. Run prove t/db_dependent/Accounts.t 2. Run prove t/db_dependent/Koha/Checkout.t 3. Verify all tests pass -- 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/
