@@ -, +, @@ typos --- C4/Context.pm | 6 +++--- etc/koha-httpd.conf | 4 ++-- .../prog/en/modules/admin/preferences.tt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/C4/Context.pm +++ a/C4/Context.pm @@ -542,8 +542,8 @@ sub preference { my $self = shift; my $var = shift; # The system preference to return - if ($use_syspref_cache && exists $sysprefs{$var}) { - return $sysprefs{$var}; + if ($use_syspref_cache && exists $sysprefs{lc $var}) { + return $sysprefs{lc $var}; } my $dbh = C4::Context->dbh or return 0; @@ -562,7 +562,7 @@ sub preference { $value = $dbh->selectrow_array( $sql, {}, $var ); } - $sysprefs{$var} = $value; + $sysprefs{lc $var} = $value; return $value; } --- a/etc/koha-httpd.conf +++ a/etc/koha-httpd.conf @@ -25,7 +25,7 @@ # You should add all the system preferences you override # in one or more vhosts to the environment variable # OVERRIDE_SYSPREF_NAMES for your staff intranet vhost -# SevEnv OVERRIDE_SYSPREF_PrefName +# SetEnv OVERRIDE_SYSPREF_PrefName Options -Indexes @@ -136,7 +136,7 @@ # If you are overriding any system preferences, # list them in this variable so the preference editor # knows that they have been overridden. -# SevEnv OVERRIDE_SYSPREF_NAMES "Pref1,Pref2,Pref3" +# SetEnv OVERRIDE_SYSPREF_NAMES "Pref1,Pref2,Pref3" ErrorDocument 400 /cgi-bin/koha/errors/400.pl ErrorDocument 401 /cgi-bin/koha/errors/401.pl --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt @@ -91,7 +91,7 @@ [% END %] [% IF NAME.overridden %] - + [Overridden] [% END %] --