Bug 14842: Wrong call to GetBranchItemRule
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Sep 2015 08:03:59 +0000 (09:03 +0100)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 2 Oct 2015 14:06:39 +0000 (11:06 -0300)
commitbb3250260742b15e840774ac77d9086b5c4b3ea7
treed4648fea8346ab0adda3776b149be4b346fc8b34
parenta988e9425ce1f8f4bf28b46473adac941d634973
Bug 14842: Wrong call to GetBranchItemRule

From bug 7981:

GetBranchItemRule expects an itemtype, a scalar.
Here $itemtype is a hashref returned by C4::ItemType->get.
So $itemtype->{itemtype} should be passed.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
circ/returns.pl