View | Details | Raw Unified | Return to bug 4461
Collapse All | Expand All

(-)a/Koha/ProblemReport.pm (-1 / +14 lines)
Lines 33-38 Koha::ProblemReport - Koha Problem Report Object class Link Here
33
33
34
=cut
34
=cut
35
35
36
=head3 patron
37
38
my $patron = $report->patron
39
40
Return the patron for who the report has been done
41
42
=cut
43
44
sub patron {
45
    my ( $self ) = @_;
46
    my $patron_rs = $self->_result->borrowernumber;
47
    return Koha::Patron->_new_from_dbic( $patron_rs );
48
}
49
36
=head3 type
50
=head3 type
37
51
38
=cut
52
=cut
39
- 

Return to bug 4461