Lines 124-129
sub process_job {
Link Here
|
124 |
my $patron = Koha::Patrons->find($job->borrowernumber); |
124 |
my $patron = Koha::Patrons->find($job->borrowernumber); |
125 |
if ( $patron ) { |
125 |
if ( $patron ) { |
126 |
C4::Context->_new_userenv(-1); |
126 |
C4::Context->_new_userenv(-1); |
|
|
127 |
C4::Context->interface('intranet'); |
127 |
C4::Context->set_userenv( |
128 |
C4::Context->set_userenv( |
128 |
$patron->borrowernumber, $patron->userid, |
129 |
$patron->borrowernumber, $patron->userid, |
129 |
$patron->cardnumber, $patron->firstname, |
130 |
$patron->cardnumber, $patron->firstname, |
130 |
- |
|
|