https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24003
--- Comment #17 from Jonathan Druart <[email protected]> --- Say you are going to implement the DELETE route for items, you will need to call Koha::Item->safe_to_delete. 246 return "not_same_branch" 247 if defined C4::Context->userenv 248 and !C4::Context->IsSuperLibrarian() 249 and C4::Context->preference("IndependentBranches") 250 and ( C4::Context->userenv->{branch} ne $self->homebranch ); Don't you want the branch to be defined at this point? Isn't that the purpose of this patch? -- 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/
