From 61a2b63703b6b0b4ad5aeb0c8eb199b655bdf893 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 5 Jun 2018 16:47:31 +0200 Subject: [PATCH] Bug 12159: (QA follow-up) Silencing POD warn from qa tools *** ERROR: Spurious text after =cut at line 954 in file Koha/Patron.pm --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index b2c456937d..ea33e20ae3 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -952,6 +952,7 @@ my $is_child = $patron->is_child Return true if the patron has a category with a type Child (C) =cut + sub is_child { my( $self ) = @_; return $self->category->category_type eq 'C' ? 1 : 0; -- 2.11.0