From f99f0b7a4a81379adbdc84e8fcae7ac1d6af5fd6 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 8 Sep 2017 10:14:10 +0200 Subject: [PATCH] Bug 15438: [QA Follow-up] Moving POD statement for CanBookBeIssued The statement for head3 NB ('nota bene'?) looks like a hash key in the list of possible return values for $needsconfirmation. Moved it up and prefixed it with IMPORTANT. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart (cherry picked from commit 133e25c56ac79e0b88b89e3b749df338e63a93d0) Signed-off-by: Fridolin Somers --- C4/Circulation.pm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index ba70d3ea3e..171fc3278c 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -569,7 +569,11 @@ sub TooMany { Check if a book can be issued. -C<$issuingimpossible> and C<$needsconfirmation> are some hashref. +C<$issuingimpossible> and C<$needsconfirmation> are hashrefs. + +IMPORTANT: The assumption by users of this routine is that causes blocking +the issue are keyed by uppercase labels and other returned +data is keyed in lower case! =over 4 @@ -661,12 +665,6 @@ sticky due date is invalid or due date in the past if the borrower borrows to much things -=head3 NB - -The assumption by users of the routine is that causes blocking -the issue are keyed by uppercase labels and other returned -data is keyed in lower case - =cut sub CanBookBeIssued { -- 2.39.5