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

(-)a/Koha/NewsItem.pm (-1 / +8 lines)
Lines 38-43 Koha::NewsItem represents a single piece of news from the opac_news table Link Here
38
38
39
=cut
39
=cut
40
40
41
=head3 author
42
43
    $newsitem->author;
44
45
Return the Koha::Patron object for the patron who authored this news item
46
47
=cut
48
41
sub author {
49
sub author {
42
    my ( $self ) = @_;
50
    my ( $self ) = @_;
43
    return Koha::Patron->_new_from_dbic($self->_result->borrowernumber);
51
    return Koha::Patron->_new_from_dbic($self->_result->borrowernumber);
44
- 

Return to bug 24398