From 8aa8cada9ab512c4a6d7ca8340f62b76a13101df 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 Content-Type: text/plain; charset=utf-8 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 --- misc/cronjobs/longoverdue.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl index ea7d594..193aaaf 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' -- 1.7.7.6