From 1991cd9959ddd5ed139443fbb19724c88dad3cbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Sun, 14 Nov 2021 12:23:52 +0000 Subject: [PATCH] Bug 29474: Fix incorrect comment The too_soon is actually being overriden if $override_limit is true. --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 3e32a0f24b..1ba9dfaaba 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2753,7 +2753,7 @@ sub CanBookBeRenewed { my $patron = $issue->patron or return; - # override_limit will override anything else except on_reserve or too_soon + # override_limit will override anything else except on_reserve unless ( $override_limit ){ my $branchcode = _GetCircControlBranch( $item->unblessed, $patron->unblessed ); my $issuing_rule = Koha::CirculationRules->get_effective_rules( -- 2.20.1