@@ -, +, @@ tasks context --- Koha/BackgroundJob.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/BackgroundJob.pm +++ a/Koha/BackgroundJob.pm @@ -167,7 +167,7 @@ sub process { $args ||= {}; if ( $self->context ) { - my $context = decode_json($self->context); + my $context = decode_json encode_utf8 $self->context; C4::Context->_new_userenv(-1); C4::Context->interface( $context->{interface} ); C4::Context->set_userenv( --