From eeba443a7213187233823de04685246b2fe19d5b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 21 Dec 2020 13:43:21 +0000 Subject: [PATCH] Bug 24398: (QA follow-up) Add POD Signed-off-by: Nick Clemens --- Koha/NewsItem.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/NewsItem.pm b/Koha/NewsItem.pm index 19bed767a6..d2fbcc05fe 100644 --- a/Koha/NewsItem.pm +++ b/Koha/NewsItem.pm @@ -38,6 +38,14 @@ Koha::NewsItem represents a single piece of news from the opac_news table =cut +=head3 author + + $newsitem->author; + +Return the Koha::Patron object for the patron who authored this news item + +=cut + sub author { my ( $self ) = @_; return Koha::Patron->_new_from_dbic($self->_result->borrowernumber); -- 2.11.0