From 149ac5749b10d36fe2891f8a77a6618e1ffdcc83 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Jun 2022 14:41:14 +0200 Subject: [PATCH] Bug 30889: Set interface to 'intranet' Is that correct? --- misc/background_jobs_worker.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl index f10880d6ca9..fd164c18e6a 100755 --- a/misc/background_jobs_worker.pl +++ b/misc/background_jobs_worker.pl @@ -124,6 +124,7 @@ sub process_job { my $patron = Koha::Patrons->find($job->borrowernumber); if ( $patron ) { C4::Context->_new_userenv(-1); + C4::Context->interface('intranet'); C4::Context->set_userenv( $patron->borrowernumber, $patron->userid, $patron->cardnumber, $patron->firstname, -- 2.25.1