[Patches] [PATCH] Bug 6132: preference were case sensitive.
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Sat Dec 3 14:16:08 NZDT 2011
From: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
Date: Thu, 3 Mar 2011 12:02:38 +0100
Subject: [PATCH] Bug 6132: preference were case sensitive.
---
C4/Context.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Context.pm b/C4/Context.pm
index 07b2b13..7581faa 100644
--- a/C4/Context.pm
+++ b/C4/Context.pm
@@ -463,7 +463,7 @@ my %sysprefs;
sub preference {
my $self = shift;
- my $var = shift; # The system preference to return
+ my $var = lc(shift); # The system preference to return
if (exists $sysprefs{$var}) {
return $sysprefs{$var};
--
1.7.7.3
More information about the Patches
mailing list