@@ -, +, @@ --- C4/Circulation.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/C4/Circulation.pm +++ a/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 --