Bugzilla – Attachment 166854 Details for
Bug 34838
The ILL module and tests generate warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34838: Tidy
Bug-34838-Tidy.patch (text/plain), 2.20 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-05-16 20:35:39 UTC
(
hide
)
Description:
Bug 34838: Tidy
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-05-16 20:35:39 UTC
Size:
2.20 KB
patch
obsolete
>From 4d836baa9bb77534c075885d35281798075f1aea Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 26 Sep 2023 09:42:27 +0000 >Subject: [PATCH] Bug 34838: Tidy > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/ILL/Request.pm | 24 ++++++++++++++---------- > 1 file changed, 14 insertions(+), 10 deletions(-) > >diff --git a/Koha/ILL/Request.pm b/Koha/ILL/Request.pm >index e929105ed27..cc9f59bdff7 100644 >--- a/Koha/ILL/Request.pm >+++ b/Koha/ILL/Request.pm >@@ -2073,21 +2073,25 @@ sub strings_map { > } > > my $status_string = >- ( $self->status && exists $status_graph_union->{ $self->status } && defined $status_graph_union->{ $self->status }->{name} ) >- ? $status_graph_union->{ $self->status }->{name} >- : $self->status; >+ ( $self->status >+ && exists $status_graph_union->{ $self->status } >+ && defined $status_graph_union->{ $self->status }->{name} ) >+ ? $status_graph_union->{ $self->status }->{name} >+ : $self->status; > > my $status_code = >- ( $self->status && exists $status_graph_union->{ $self->status } && defined $status_graph_union->{ $self->status }->{id} ) >- ? $status_graph_union->{ $self->status }->{id} >- : $self->status; >+ ( $self->status >+ && exists $status_graph_union->{ $self->status } >+ && defined $status_graph_union->{ $self->status }->{id} ) >+ ? $status_graph_union->{ $self->status }->{id} >+ : $self->status; > > my $strings = { > status => { >- backend => $self->backend, # the backend identifier >- str => $status_string, # the status description, taken from the status graph >- code => $status_code, # the status id, taken from the status graph >- type => 'ill_status', # fixed type >+ backend => $self->backend, # the backend identifier >+ str => $status_string, # the status description, taken from the status graph >+ code => $status_code, # the status id, taken from the status graph >+ type => 'ill_status', # fixed type > } > }; > >-- >2.45.0
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 34838
:
156178
|
156200
|
156201
|
156202
|
156204
|
156217
|
156218
|
156219
|
156220
|
166841
|
166842
|
166843
|
166844
|
166845
|
166846
|
166847
|
166848
|
166849
|
166850
|
166851
|
166852
|
166853
|
166854
|
166855
|
167193
|
167194
|
167211
|
167212
|
167213
|
167214
|
167215
|
167216