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

--- Comment #58 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to