From 3ad41dbaf812d9d8f8eeda0cd7d20579d71a4e0e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 22 Oct 2008 18:11:27 -0500 Subject: [PATCH] followup 1 to to renewal limit override Update POD for CanBookBeRenewed(). Signed-off-by: Galen Charlton --- C4/Circulation.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 3e4b0e5187..fb0cbb0aad 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1856,7 +1856,7 @@ END_SQL =head2 CanBookBeRenewed -($ok,$error) = &CanBookBeRenewed($borrowernumber, $itemnumber); +($ok,$error) = &CanBookBeRenewed($borrowernumber, $itemnumber[, $override_limit]); Find out whether a borrowed item may be renewed. @@ -1867,6 +1867,10 @@ has the item on loan. C<$itemnumber> is the number of the item to renew. +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. + C<$CanBookBeRenewed> returns a true value iff the item may be renewed. The item must currently be on loan to the specified borrower; renewals must be allowed for the item's type; and the borrower must not have -- 2.39.5