From 8ba3a05eb3d14a6e7be99bfe0c0851774a489caa Mon Sep 17 00:00:00 2001 From: Hayley Pelham Date: Tue, 21 Dec 2021 23:06:07 +0000 Subject: [PATCH] Bug 28332: (follow-up) Include encode_json method in admin/share_content.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: - Go to Administration Share content with Mana KB (cgi-bin/koha/admin/share_content.pl) - In "Configure Mana KB" part, set your email and a name with accent (Université Foo), - Click on "Send to Mana KB" => Fail. No mana token. Sponsored-by: Catalyst IT --- admin/share_content.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/share_content.pl b/admin/share_content.pl index 7712de3c47..b1d421b2db 100755 --- a/admin/share_content.pl +++ b/admin/share_content.pl @@ -18,7 +18,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); -use JSON qw( to_json ); +use JSON qw( to_json encode_json ); use HTTP::Request; use C4::Auth qw( get_template_and_user ); -- 2.20.1