Bugzilla – Attachment 8724 Details for
Bug 7821
XSLT systempreference multi-language support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7821 - fix C4::Templates::_current_language
Bug-7821---fix-C4Templatescurrentlanguage.patch (text/plain), 807 bytes, created by
Dobrica Pavlinusic
on 2012-03-30 17:44:44 UTC
(
hide
)
Description:
Bug 7821 - fix C4::Templates::_current_language
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-03-30 17:44:44 UTC
Size:
807 bytes
patch
obsolete
>From 69b9267592e2ffcd86ba7b30f60dc41efc855aef Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Fri, 30 Mar 2012 19:41:02 +0200 >Subject: [PATCH] Bug 7821 - fix C4::Templates::_current_language > >Bareword "C4::Templates::_current_language" not allowed while "strict subs" in use at /home/oleonard/kohaclone/C4/XSLT.pm line 175. >--- > C4/XSLT.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index a22f2e5..56ba544 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -172,7 +172,7 @@ sub XSLTParse4Display { > } > > if ( $xslfilename =~ m/\{langcode\}/ ) { >- my $lang = C4::Templates::_current_language; >+ my $lang = C4::Templates::_current_language(); > $xslfilename =~ s/\{langcode\}/$lang/; > } > >-- >1.7.2.5
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 7821
:
8621
|
8626
|
8724
|
8725