From 44b74010b1d45bda2ce2f8c58f282570566238fc 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? Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- 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 f10880d6ca..fd164c18e6 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.39.5