Bugzilla – Attachment 130103 Details for
Bug 15157
Cronjob to automatically restrict patrons with pending/unpaid charges
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15157: Add my $amount and fix options
0001-Bug-15157-Add-my-amount-and-fix-options.patch (text/plain), 1.20 KB, created by
Emmi Takkinen
on 2022-02-02 13:34:39 UTC
(
hide
)
Description:
Bug 15157: Add my $amount and fix options
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2022-02-02 13:34:39 UTC
Size:
1.20 KB
patch
obsolete
>From 0b8db3c06c0db660baed85d6a9b545bf0fd1a45d Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Wed, 2 Feb 2022 15:32:00 +0200 >Subject: [PATCH] Bug 15157: Add my $amount and fix options > >Variable my $amount was missing. Also option >amount has to be declared as integer and >option confirm is no longer string. > >Sponsored by: Koha-Suomi Oy >--- > misc/cronjobs/debar_patrons_with_fines.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/misc/cronjobs/debar_patrons_with_fines.pl b/misc/cronjobs/debar_patrons_with_fines.pl >index a22599c84c..21cc608088 100755 >--- a/misc/cronjobs/debar_patrons_with_fines.pl >+++ b/misc/cronjobs/debar_patrons_with_fines.pl >@@ -77,11 +77,11 @@ use Koha::Patron::Debarments; > > use C4::Log qw( cronlogaction ); > >-my ( $help, $confirm, $message, $expiration, $file ); >+my ( $amount, $help, $confirm, $message, $expiration, $file ); > GetOptions( >- 'a|amount' => \$amount, >+ 'a|amount:i' => \$amount, > 'h|help' => \$help, >- 'c|confirm:s' => \$confirm, >+ 'c|confirm' => \$confirm, > 'm|message:s' => \$message, > 'f|file:s' => \$file, > 'e|expiration:s' => \$expiration, >-- >2.25.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15157
:
44643
|
44645
|
44646
|
109220
|
124894
|
124895
|
124896
|
129701
|
129702
|
129703
|
129704
|
130103
|
158288
|
158289
|
158290
|
158291
|
158292
|
158315
|
158316
|
158317
|
158318