Bugzilla – Attachment 139933 Details for
Bug 31177
Misplaced import in C4::ILSDI::Services
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31177: Fix misplaced import in C4::ILSDI::Services
Bug-31177-Fix-misplaced-import-in-C4ILSDIServices.patch (text/plain), 1.12 KB, created by
Joonas Kylmälä
on 2022-08-28 18:14:02 UTC
(
hide
)
Description:
Bug 31177: Fix misplaced import in C4::ILSDI::Services
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2022-08-28 18:14:02 UTC
Size:
1.12 KB
patch
obsolete
>From 80c7ec6813a6d53fd7a99f3270b311b3b97b1cf8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 18 Jul 2022 12:47:49 -0300 >Subject: [PATCH] Bug 31177: Fix misplaced import in C4::ILSDI::Services >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> >--- > C4/ILSDI/Services.pm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 03ca66235a..f6bf6bcc14 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -35,6 +35,7 @@ use C4::AuthoritiesMarc qw( GetAuthorityXML ); > > use Koha::Biblios; > use Koha::Checkouts; >+use Koha::I18N qw(__); > use Koha::Items; > use Koha::Libraries; > use Koha::Patrons; >@@ -944,8 +945,6 @@ sub _availability { > my ($itemnumber) = @_; > my $item = Koha::Items->find($itemnumber); > >- use Koha::I18N; >- > unless ( $item ) { > return ( undef, __('unknown'), __('Error: could not retrieve availability for this ID'), undef ); > } >-- >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 31177
:
137825
| 139933