From c44439bc7d9bb0033412ac4b21d75c3335b3a5a9 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 13 Oct 2014 16:20:21 +0200 Subject: [PATCH] Bug 8337: Small typo in usage statement for longoverdue.pl The charge with the replacement price will only be made if the charge parameter matches the lost value. The given example is faulty (as well as some of the code, as it appears ;) Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- misc/cronjobs/longoverdue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl index ea7d5946ed..193aaaf1f6 100755 --- a/misc/cronjobs/longoverdue.pl +++ b/misc/cronjobs/longoverdue.pl @@ -84,7 +84,7 @@ This script takes the following parameters : Would set LOST=1 after 30 days (up to one year), but not charge the account. This would be suitable for the Koha default LOST authorized value of 1 -> 'Lost'. - $PERL5LIB/misc/cronjobs/longoverdue.pl --lost 60=2 --charge 1 + $PERL5LIB/misc/cronjobs/longoverdue.pl --lost 60=2 --charge 2 Would set LOST=2 after 60 days (up to one year), and charge the account when setting LOST=2. This would be suitable for the Koha default LOST authorized value of 2 -> 'Long Overdue' -- 2.39.5