Bugzilla – Attachment 12234 Details for
Bug 6030
Allow for html in letters in overdue notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6030 followup : add a condition to use getlanguage in bath mode
Bug-6030-followup--add-a-condition-to-use-getlangu.patch (text/plain), 830 bytes, created by
Mason James
on 2012-09-14 14:35:33 UTC
(
hide
)
Description:
Bug 6030 followup : add a condition to use getlanguage in bath mode
Filename:
MIME Type:
Creator:
Mason James
Created:
2012-09-14 14:35:33 UTC
Size:
830 bytes
patch
obsolete
>From e34fa8faa6d38fb9ab1023db49c0c07a27b9dfc8 Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Sun, 9 Sep 2012 21:36:50 +0200 >Subject: [PATCH] Bug 6030 followup : add a condition to use getlanguage in bath mode >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > >--- > C4/Templates.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index 507e077..c3b358a 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -325,7 +325,7 @@ sub getlanguage { > my $lang; > > #Â cookie >- if ( $query->cookie('KohaOpacLanguage') ) { >+ if ( defined $query and $query->cookie('KohaOpacLanguage') ) { > $lang = $query->cookie('KohaOpacLanguage'); > $lang =~ s/[^a-zA-Z_-]*//; # sanitize cookie > } >-- >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 6030
:
3596
|
5240
|
5241
|
6251
|
6252
|
12110
|
12111
|
12112
|
12113
|
12231
|
12232
|
12234
|
12235
|
12397
|
12698
|
12699
|
12700
|
12701
|
12772
|
13017
|
13018
|
14128
|
14129