From 41648de785d905a9ec7f15f9597c4ecc3640a3ac Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Tue, 17 Oct 2017 17:26:31 -0600 Subject: [PATCH] Bug 18936: (follow-up) fix rental odiscount lookup --- C4/Circulation.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 6ed773e493..f5e3acc8d2 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3243,19 +3243,19 @@ sub _get_discount_from_rule { categorycode => $categorycode, }, { - branchcode => '*', + branchcode => undef, categorycode => $categorycode, itemtype => $itemtype, }, { branchcode => $branchcode, categorycode => $categorycode, - itemtype => '*', + itemtype => undef, }, { - branchcode => '*', + branchcode => undef, categorycode => $categorycode, - itemtype => '*', + itemtype => undef, }, ); -- 2.11.0