From f741c27efb96c284ab6425f0d1ac67c86bb3cf31 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 fa6b58754f..fa6b2d20de 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3226,19 +3226,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