From 7d28dd0bdfc7557dce8fc3135bd525c74cfdd4a4 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 16 Aug 2023 10:55:16 +0000 Subject: [PATCH] Bug 25393: Update CanBookBeRenewed pod with bug 25758 changes Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- C4/Circulation.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 4c6b10af17..3639596910 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2945,7 +2945,7 @@ sub GetUpcomingDueIssues { =head2 CanBookBeRenewed - ($ok,$error,$info) = &CanBookBeRenewed($patron, $issue, $override_limit); + ($ok,$error,$info) = &CanBookBeRenewed($patron, $issue, $override_limit, $cron); Find out whether a borrowed item may be renewed. @@ -2953,6 +2953,9 @@ C<$patron> is the patron who currently has the issue. C<$issue> is the checkout to renew. +C<$cron> true or false, specifies if this check is being made +by the automatic_renewals.pl cronscript + C<$override_limit>, if supplied with a true value, causes the limit on the number of times that the loan can be renewed (as controlled by the item type) to be ignored. Overriding also allows -- 2.39.5