From ae01f6f78f49b6c77ae3b564b52c3b2f6c020f57 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Feb 2021 11:10:00 +0100 Subject: [PATCH] Bug 22824: Fix koha-preferences dump Signed-off-by: Julian Maurice --- misc/admin/koha-preferences | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/admin/koha-preferences b/misc/admin/koha-preferences index 1906c549ef..418c80cb04 100755 --- a/misc/admin/koha-preferences +++ b/misc/admin/koha-preferences @@ -209,7 +209,7 @@ my %commands = ( if ( $outfile ) { YAML::XS::DumpFile( $outfile, GetPreferences() ); } else { - print YAML::XS::Dump( Encode::encode_utf8(GetPreferences()) ); + print Encode::decode_utf8(YAML::XS::Dump(GetPreferences())); } }, load => sub { -- 2.20.1