[Koha-bugs] [Bug 7981] Remove HomeOrHoldingBranchReturn syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 15 17:52:51 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7981

--- Comment #58 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Comment on attachment 39848
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39848
Bug 7981 - Remove HomeOrHoldingBranchReturn syspref

Review of attachment 39848:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=7981&attachment=39848)
-----------------------------------------------------------------

::: circ/returns.pl
@@ +265,5 @@
>          );
>      }
>  
> +    # make sure return branch respects home branch circulation rules, default to homebranch
> +    my $hbr = GetBranchItemRule($biblio->{'homebranch'}, $itemtype)->{'returnbranch'} || "homebranch";

I think there is a problem here.
$itemtype is a hashref returned by C4::ItemType->get, but GetBranchItemRule
expects a string.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list