View | Details | Raw Unified | Return to bug 31351
Collapse All | Expand All

(-)a/Koha/BackgroundJob.pm (-2 / +1 lines)
Lines 167-173 sub process { Link Here
167
    $args ||= {};
167
    $args ||= {};
168
168
169
    if ( $self->context ) {
169
    if ( $self->context ) {
170
        my $context = decode_json($self->context);
170
        my $context = decode_json encode_utf8 $self->context;
171
        C4::Context->_new_userenv(-1);
171
        C4::Context->_new_userenv(-1);
172
        C4::Context->interface( $context->{interface} );
172
        C4::Context->interface( $context->{interface} );
173
        C4::Context->set_userenv(
173
        C4::Context->set_userenv(
174
- 

Return to bug 31351