Bugzilla – Attachment 158317 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
Bug-15157-Add-my-amount-and-fix-options.patch (text/plain), 1.38 KB, created by
Marcel de Rooy
on 2023-11-03 10:06:08 UTC
(
hide
)
Description:
Bug 15157: Add my $amount and fix options
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-11-03 10:06:08 UTC
Size:
1.38 KB
patch
obsolete
>From f018bd7554f35f4228b629472302e9151ec7fd93 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 >Content-Type: text/plain; charset=utf-8 > >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 > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> > >[EDIT] Run perltidy to resolve one line. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 66d2d21eb3..d810226a02 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.30.2
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