From a10370fa7adad0e4f4e4dc9502c5a406244b0759 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. --- 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