[Koha-patches] [PATCH] followup 1 to to renewal limit override
Galen Charlton
galen.charlton at liblime.com
Thu Oct 23 01:11:27 CEST 2008
Update POD for CanBookBeRenewed().
---
C4/Circulation.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/C4/Circulation.pm b/C4/Circulation.pm
index 3e4b0e5..fb0cbb0 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
--
1.5.5.GIT
More information about the Koha-patches
mailing list