Bugzilla – Attachment 179247 Details for
Bug 38944
Add Test::NoWarnings to tests without warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38944: Remove warning from Patron/Borrower_Debarments.
Bug-38944-Remove-warning-from-PatronBorrowerDebarm.patch (text/plain), 879 bytes, created by
Jonathan Druart
on 2025-03-13 13:28:11 UTC
(
hide
)
Description:
Bug 38944: Remove warning from Patron/Borrower_Debarments.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-03-13 13:28:11 UTC
Size:
879 bytes
patch
obsolete
>From 308bfa16c303d61ec708b26b289c552a7e5e9311 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 13 Mar 2025 14:27:24 +0100 >Subject: [PATCH] Bug 38944: Remove warning from Patron/Borrower_Debarments. > > # Use of uninitialized value $anonymous_patron in string eq at /kohadevbox/koha/Koha/Patron.pm line 737. >--- > Koha/Patron.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index bd3572d92c4..ecdf96dc108 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -734,7 +734,7 @@ sub merge_with { > sub { > foreach my $patron_id (@patron_ids) { > >- next if $patron_id eq $anonymous_patron; >+ next if $anonymous_patron && $patron_id eq $anonymous_patron; > > my $patron = Koha::Patrons->find($patron_id); > >-- >2.34.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 38944
:
176912
|
176913
|
176914
|
177165
|
177166
|
177167
|
177196
|
177274
|
177275
|
177362
|
177363
|
177364
|
177380
|
177477
|
177478
|
177479
|
177480
|
177481
|
177928
|
177929
|
177930
|
177931
|
177932
|
177977
|
177994
|
177995
|
177996
|
177997
|
177998
|
177999
|
179241
|
179242
|
179243
|
179244
|
179245
|
179246
| 179247 |
179378
|
179478
|
181977