On 8 December 2011 08:27, Tomas Cohen Arazi <[email protected]> wrote: > Hi, I've just heard of bug 6802, we are having some issues with that > as it is holding a University from finishing its Koha official > deployment. > I'm willing to work on that, and would like to ask if something like > this would be a good solution: somehow wrapping the "saveitem" block > within > > if (C4::Context->preference("IndependantBranches")) { > my $userenv = C4::Context->userenv(); > unless (($userenv->{'flags'} == 1) or ($userenv->{'branch'} eq > $item->{'homebranch'})) { > # ERROR HANDLING CODE HERE > > > } > } > > might or not work. Hope we start a good discussion on this... > That should work, I recommend giving it a try and throwing up a patch for others to test
Chris _______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
