From f541228579940272ad31974c9122a8bbd982c6d9 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 discount lookup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Minna Kivinen Signed-off-by: Joonas Kylmälä Signed-off-by: Martin Renvoize --- 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.39.5