Bugzilla – Attachment 132208 Details for
Bug 30222
Auto_renew_digest still sends every day when renewals are not allowed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30222: Remove warning
Bug-30222-Remove-warning.patch (text/plain), 1.34 KB, created by
Jonathan Druart
on 2022-03-25 08:09:16 UTC
(
hide
)
Description:
Bug 30222: Remove warning
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-25 08:09:16 UTC
Size:
1.34 KB
patch
obsolete
>From fc41b978821464e3d295e5556cc153b7edefc0dc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 25 Mar 2022 09:05:18 +0100 >Subject: [PATCH] Bug 30222: Remove warning > >Use of uninitialized value in string ne at misc/cronjobs/automatic_renewals.pl line 193. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > misc/cronjobs/automatic_renewals.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl >index ecd3c24f504..06079dc518b 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -190,7 +190,7 @@ while ( my $auto_renew = $auto_renews->next ) { > say sprintf "Issue id: %s for borrower: %s and item: %s %s not be renewed. (%s)", > $auto_renew->issue_id, $auto_renew->borrowernumber, $auto_renew->itemnumber, $confirm ? 'will' : 'would', $error; > } >- $updated = 1 if ($error ne $auto_renew->auto_renew_error); >+ $updated = 1 if ($auto_renew->auto_renew_error && $error ne $auto_renew->auto_renew_error); > if ( not $auto_renew->auto_renew_error or $updated ) { > $auto_renew->auto_renew_error($error)->store if $confirm; > push @{ $report{ $auto_renew->borrowernumber } }, $auto_renew >-- >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 30222
:
131586
|
131587
|
131659
|
131660
|
131662
|
131663
|
131721
|
131728
|
131729
|
131730
|
132205
|
132206
|
132207
|
132208
|
132209