@@ -, +, @@ --- C4/Context.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Context.pm +++ a/C4/Context.pm @@ -486,6 +486,7 @@ was no syspref of the name. sub delete_preference { my ( $self, $var ) = @_; + $var = lc $var; if ( Koha::Config::SysPrefs->find( $var )->delete ) { if ( $use_syspref_cache ) { my $syspref_cache = Koha::Caches->get_instance('syspref'); --