Bugzilla – Attachment 12111 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-getlang.patch (text/plain), 764 bytes, created by
Sophie MEYNIEUX
on 2012-09-10 16:11:33 UTC
(
hide
)
Description:
Bug 6030 followup : add a condition to use getlanguage in bath mode
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2012-09-10 16:11:33 UTC
Size:
764 bytes
patch
obsolete
>From 2f3172fa5bf24db28ca3b2a38ca306eb39097624 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 > >--- > C4/Templates.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Templates.pm b/C4/Templates.pm >index d6e3ce4..b5f5e08 100644 >--- a/C4/Templates.pm >+++ b/C4/Templates.pm >@@ -320,7 +320,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.5.4
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