From 56fbbe237fe275c77a38112538bb9baf99d6bacf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 17 Oct 2016 14:47:30 +0100 Subject: [PATCH] Bug 5670: Does not return 0 in Koha::Patron->housebound_* methods Signed-off-by: Kyle M Hall --- Koha/Patron.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 612b1c5ad6..93c2186dbc 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -136,7 +136,7 @@ sub housebound_profile { my $profile = $self->_result->housebound_profile; return Koha::Patron::HouseboundProfile->_new_from_dbic($profile) if ( $profile ); - return 0; + return; } =head3 housebound_role @@ -150,7 +150,7 @@ sub housebound_role { my $role = $self->_result->housebound_role; return Koha::Patron::HouseboundRole->_new_from_dbic($role) if ( $role ); - return 0; + return; } =head3 siblings -- 2.39.5