From e595d12430d30bcdd810da8df2494995d2c6aa8e 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Minna Kivinen Signed-off-by: Joonas Kylmälä --- C4/Circulation.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index fcf48f83ad..6c10b3d905 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3283,19 +3283,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