Bug 30889: Set interface to 'intranet'
Is that correct?
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 44b74010b1
)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
cbb3ee6242
commit
f334243222
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue