Bugzilla – Attachment 8725 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]
Followup for current language call
patch.txt (text/plain), 928 bytes, created by
Marcel de Rooy
on 2012-03-30 17:58:55 UTC
(
hide
)
Description:
Followup for current language call
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2012-03-30 17:58:55 UTC
Size:
928 bytes
patch
obsolete
>From 2ad3cb185cce5bedfa7438734a45e8550195ec11 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 >Content-Type: text/plain; charset="utf-8" > >Bareword "C4::Templates::_current_language" not allowed while "strict subs" in use at /home/oleonard/kohaclone/C4/XSLT.pm line 175. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Fixes the problem. >--- > 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.7.6 >
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