From 6e8ea4df521b5d139fd80da659e3e67c9261fc6f Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Thu, 3 Mar 2011 12:02:38 +0100 Subject: [PATCH] Bug 6132: preference were case sensitive. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain (cherry picked from commit 7655eaedc124d52ca1f4d17855dc3753abf0802c) Signed-off-by: Chris Nighswonger --- C4/Context.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Context.pm b/C4/Context.pm index 07b2b1309d..7581faa0fb 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}; -- 2.39.5