https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35735

            Bug ID: 35735
           Summary: Document fourth argument to CanBookBeRenewed
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

In C4/Circulation.pm we have this: 

2920 =head2 CanBookBeRenewed
2921 
2922   ($ok,$error,$info) = &CanBookBeRenewed($patron, $issue,
$override_limit);
2923 
2924 Find out whether a borrowed item may be renewed.
2925 
2926 C<$patron> is the patron who currently has the issue.
2927 
2928 C<$issue> is the checkout to renew.
2929 
2930 C<$override_limit>, if supplied with a true value, causes
2931 the limit on the number of times that the loan can be renewed
2932 (as controlled by the item type) to be ignored. Overriding also allows
2933 to renew sooner than "No renewal before" and to manually renew loans
2934 that are automatically renewed.
...
2946 sub CanBookBeRenewed {
2947     my ( $patron, $issue, $override_limit, $cron ) = @_;

The fourth argument, $cron, should be added to the example and to the list of
arguments.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to