Bugzilla – Attachment 44107 Details for
Bug 14931
Remove C4::Dates from files admin/aq*.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14931: Fix test xt/author/valid_templates complaining on opac-topissues.tt
Bug-14931-Fix-test-xtauthorvalidtemplates-complain.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2015-10-28 08:59:41 UTC
(
hide
)
Description:
Bug 14931: Fix test xt/author/valid_templates complaining on opac-topissues.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-28 08:59:41 UTC
Size:
1.14 KB
patch
obsolete
>From d4da37fb89031a76fc287e9264636c25919724dd 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 14931: 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 14931
:
42977
|
43302
|
43427
|
43956
|
44101
|
44103
|
44104
|
44105
|
44107