From 682fef9f178d688a20e8b56049a95e427c3f0fbb 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 7b3d4bca3d..94aff6f078 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3197,19 +3197,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.15.1