Bugzilla – Attachment 42713 Details for
Bug 14817
Encoding issues in columns.def
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 14817: Fix encoding issues in columns.def
PASSED-QA-Bug-14817-Fix-encoding-issues-in-columns.patch (text/plain), 1.05 KB, created by
Katrin Fischer
on 2015-09-19 06:17:55 UTC
(
hide
)
Description:
[PASSED QA] Bug 14817: Fix encoding issues in columns.def
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-09-19 06:17:55 UTC
Size:
1.05 KB
patch
obsolete
>From 7ea47b3d42cc975544c6d05d18c96b2526556fe2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Sep 2015 15:02:50 +0100 >Subject: [PATCH] [PASSED QA] Bug 14817: Fix encoding issues in columns.def > >Test plan: >1/ Use a translated template (fr-FR or ar-Arab) >2/ Go on the tools/import_patrons.pl page >3/ The field names in the "default values" block should be correctly >encoded. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Templates.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index b7f770d..4f23dc7 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -332,7 +332,7 @@ sub GetColumnDefs { > # Build columns.def path > my $path = "$htdocs/$theme/$lang/$columns_file"; > my $fh; >- if ( ! open ( $fh, q{<}, $path ) ) { >+ if ( ! open ( $fh, q{<:encoding(utf-8)}, $path ) ) { > carp "Error opening $path. Check your templates."; > return; > } >-- >1.9.1
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 14817
:
42524
|
42571
|
42582
|
42583
| 42713 |
42714