From 9a428d8ef0b722257dd37bd8ee1f8b2f9cfe1aea Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 8 Oct 2022 16:04:36 +0000 Subject: [PATCH] Bug 30168: (QA follow-up) Fix POD The POD had $issue in the example, but $checkout in explanation. Also standardized a bit of other terminology. (borrower, issue) = (patron, checkout) Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- C4/Circulation.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index f4f772cbee..d34769f5ed 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -3272,7 +3272,7 @@ sub GetRenewCount { =head2 GetSoonestRenewDate - $NoRenewalBeforeThisDate = &GetSoonestRenewDate($issue); + $NoRenewalBeforeThisDate = &GetSoonestRenewDate($checkout); Find out the soonest possible renew date of a borrowed item. @@ -3281,7 +3281,7 @@ C<$checkout> is the checkout object to renew. C<$GetSoonestRenewDate> returns the DateTime of the soonest possible renew date, based on the value "No renewal before" of the applicable issuing rule. Returns the current date if the item can already be -renewed, and returns undefined if the borrower, loan, or item +renewed, and returns undefined if the patron, item, or checkout cannot be found. =cut -- 2.39.5