https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20446
--- Comment #21 from Colin Campbell <colin.campb...@ptfs-europe.com> --- (In reply to Jonathan Druart from comment #20) > The original problem is that we are calling ->find on Koha::Object instead > of the set class (Koha::Objects) > > - my $basket = Koha::Acquisition::Basket->find( $basketno ); > + my $basket = Koha::Acquisition::Baskets->find( $basketno ); > > Sounds like the correct fix to me. Could someone confirm? Read the above comments. There is no need to retrieve the basket which you have just created. It was being retrieved to find a parameter that was set based on the systempreference. It introduce3s extra processing for no purpose -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/