Bugzilla – Attachment 71110 Details for
Bug 19750
Overdues without a fine rule add warnings to log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19750 - Overdues without a fine rule add warnings to log
Bug-19750---Overdues-without-a-fine-rule-add-warni.patch (text/plain), 1.12 KB, created by
Kyle M Hall (khall)
on 2018-02-01 12:35:06 UTC
(
hide
)
Description:
Bug 19750 - Overdues without a fine rule add warnings to log
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2018-02-01 12:35:06 UTC
Size:
1.12 KB
patch
obsolete
>From e9a699bbfa9ecb4da1011443bc15f20ba8667c08 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 5 Dec 2017 10:23:45 -0500 >Subject: [PATCH] Bug 19750 - Overdues without a fine rule add warnings to log >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Followed test plan and works as expected. >Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > misc/cronjobs/fines.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl >index 6c3f830..87c732e 100755 >--- a/misc/cronjobs/fines.pl >+++ b/misc/cronjobs/fines.pl >@@ -130,7 +130,7 @@ for my $overdue ( @{$overdues} ) { > # Don't update the fine if today is a holiday. > # This ensures that dropbox mode will remove the correct amount of fine. > if ( $mode eq 'production' && !$is_holiday{$branchcode} ) { >- if ( $amount > 0 ) { >+ if ( $amount && $amount > 0 ) { > UpdateFine( > { > issue_id => $overdue->{issue_id}, >-- >2.10.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 19750
:
69509
|
71101
| 71110