From 368581c3bb4f29aeb3c4b542383a0f8dc2b2e6c6 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 --- C4/Circulation.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 62a40aa399..bf795e4adb 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2925,7 +2925,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. @@ -2933,6 +2933,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.30.2