Bugzilla – Attachment 44108 Details for
Bug 14100
Add base to make item types, branch names, sysprefs values and authorised values translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14100: Fix test xt/author/valid_templates complaining on opac-topissues.tt
Bug-14100-Fix-test-xtauthorvalidtemplates-complain.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2015-10-28 09:01:10 UTC
(
hide
)
Description:
Bug 14100: Fix test xt/author/valid_templates complaining on opac-topissues.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-28 09:01:10 UTC
Size:
1.14 KB
patch
obsolete
>From e19a566fc3e569d3377626f699ddb256c593d101 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 28 Oct 2015 08:58:15 +0000 >Subject: [PATCH] Bug 14100: Fix test xt/author/valid_templates complaining on > opac-topissues.tt > >undef error - Undefined subroutine &C4::Languages::getlanguage called at C4/Koha.pm line 250. > >Test plan: > prove xt/author/valid-templates.t >--- > C4/Koha.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Koha.pm b/C4/Koha.pm >index 82e80e3..0a90bb3 100644 >--- a/C4/Koha.pm >+++ b/C4/Koha.pm >@@ -247,6 +247,7 @@ sub GetItemTypes { > my ( %params ) = @_; > my $style = defined( $params{'style'} ) ? $params{'style'} : 'hash'; > >+ require C4::Languages; > my $language = C4::Languages::getlanguage(); > # returns a reference to a hash of references to itemtypes... > my %itemtypes; >@@ -549,6 +550,7 @@ Defaults to intranet. > sub getitemtypeinfo { > my ($itemtype, $interface) = @_; > my $dbh = C4::Context->dbh; >+ require C4::Languages; > my $language = C4::Languages::getlanguage(); > my $it = $dbh->selectrow_hashref(q| > SELECT >-- >2.1.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 14100
:
38727
|
40917
|
40965
|
41654
|
41659
|
41660
|
42525
|
42526
|
43110
|
43111
|
43365
|
43366
|
43367
|
43368
|
43369
|
43370
|
43394
|
43395
|
43396
|
43577
|
43602
|
43603
|
43604
|
43605
|
43606
|
43613
|
44085
|
44086
|
44087
|
44088
|
44089
|
44090
|
44094
| 44108 |
44109
|
44119
|
44151