Lines 174-180
if ($do_it) {
Link Here
|
174 |
#always add firstname and surname for librarian/user |
174 |
#always add firstname and surname for librarian/user |
175 |
if ( $log->user ) { |
175 |
if ( $log->user ) { |
176 |
my $patron = Koha::Patrons->find( $log->user ); |
176 |
my $patron = Koha::Patrons->find( $log->user ); |
177 |
if ($patron) { |
177 |
if ($patron && $output eq 'screen') { |
178 |
$result->{librarian} = $patron; |
178 |
$result->{librarian} = $patron; |
179 |
} |
179 |
} |
180 |
} |
180 |
} |
Lines 183-189
if ($do_it) {
Link Here
|
183 |
if ( $log->module eq "CIRCULATION" || $log->module eq "MEMBERS" || $log->module eq "FINES" ) { |
183 |
if ( $log->module eq "CIRCULATION" || $log->module eq "MEMBERS" || $log->module eq "FINES" ) { |
184 |
if ( $log->object ) { |
184 |
if ( $log->object ) { |
185 |
my $patron = Koha::Patrons->find( $log->object ); |
185 |
my $patron = Koha::Patrons->find( $log->object ); |
186 |
if ($patron) { |
186 |
if ($patron && $output eq 'screen') { |
187 |
$result->{patron} = $patron; |
187 |
$result->{patron} = $patron; |
188 |
} |
188 |
} |
189 |
} |
189 |
} |
190 |
- |
|
|