From 7655eaedc124d52ca1f4d17855dc3753abf0802c 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 --- 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